Message ID | 20240309235435.515735-1-raj.khem@gmail.com |
---|---|
State | Committed |
Headers |
Return-Path: <elfutils-devel-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 148F9385F028 for <patchwork@sourceware.org>; Sat, 9 Mar 2024 23:54:54 +0000 (GMT) X-Original-To: elfutils-devel@sourceware.org Delivered-To: elfutils-devel@sourceware.org Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by sourceware.org (Postfix) with ESMTPS id 571253858D28 for <elfutils-devel@sourceware.org>; Sat, 9 Mar 2024 23:54:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 571253858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 571253858D28 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::42b ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710028484; cv=none; b=fbCY3KSnu08wru8/EPb6LnseKhCz7+jhknAYWA2sLB+1yD8XDpkEZ5S3QFfHERpjkiEZiw3xIeBqhuOVbxvY7rtqtt6WC2uHdblbdhAO3dmKQFyW/wlmjoBpHcOWk+EKfkW6WqdNoRUAMgMWGfB0NxRuSK+DKUijQiOX+p/3BFc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710028484; c=relaxed/simple; bh=iW9lujbl+N11h/TvembGOsfQHSOKVb+EvjLuVFhL590=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=sSXGcqh4hcA8ZqVrNy8a5R18Mq78Iwy8o/pgoy0COGUTTFi1EtPFiNIoN/XNBAVxkOSfQd66J7XiamwReb6Fy97UQVbMc4bBkVeaSVXNzEVw++mNp1i1PIbHnY+bvm335GIhF5p9bavlrP7C871dfyvGC54PxJac0CTYYs0L3LI= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-6e5dddd3b95so2378757b3a.1 for <elfutils-devel@sourceware.org>; Sat, 09 Mar 2024 15:54:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710028480; x=1710633280; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=2eXgpHg1dND6xFuWIr3gwmvUgEg71PODrRouGcVb+oo=; b=euaxZbjKEdk/XqE7NIzOD/PykD+Ixxd+C6DpsaGF9F+5rl3oy2Q34ynXg8qoNJ7nCy ucviptngr+qlLItiihZLm1iry3Cb5mpI1YORYp9+6JpRvtpsFpQJzI2ConQAxwQlOuaz uXPK2Oe8pcOICUyowry0r4tS3AkYXnQANLOKNDK+3qPipLJ5oLmuyyXHx714DcHhzQqZ NJ6QJOWKAKyGWVxPqfiBQJHkQ6aQdDzzZPhLk95HPa9e2aUYEOWDkOq3V+/G6DdY8WSI IsIyUdFQ4MpMuUb7tSiUYKHtXTidNgeZun25omnI2ryMOO9bBxTDQZL1a6to2AakXrNi hLgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710028480; x=1710633280; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2eXgpHg1dND6xFuWIr3gwmvUgEg71PODrRouGcVb+oo=; b=mIXt7iTj0O9gTZknWG0+UAx5PJUlcn3vVp3m44CJBlDn7GrR47OP8aawKnPgYOt0Js TckDu2DnO6lskHLOWGlSwsEE6DMzu/d3TtW7tiFKggYdXiaN7uCMeIW/QJwecpOgtMvS d98TOdgJHIhb6Ts+HjlGVNFvhDMajrVmhCfCULKL9qg0uyoGPaGObagVkLS+jXKtgkmU BZ6/Jms+U8D1vsRYlozz/gXYPqHBlAklcgWn/QJ/te+Xd7jaCqQh9DZkeRQz4xXMgrak 4Hi6eGTDJZoZhvUUWpPIh18vTF+XkAifxwtFvV9Gws1dQy9dOzkk5n55REaC/qK4Z+w3 IeFw== X-Gm-Message-State: AOJu0YzBIro6FngKghgenh6kE3MhYRdNVzoUBD9YSGBW277Aed/66tVR S+fXhEyXvgaOv9Q3irZWTnp4EGRNcc0253EoC/GCWJv4w7GKHmQKh6U5eVRW X-Google-Smtp-Source: AGHT+IHOr/ALzw7PK8Q94SVetqR1yD7q7uRiPa5B+K05lmyCRt50yU+gFo/EM4dAdUca+wwpw5i2lQ== X-Received: by 2002:a05:6a00:2410:b0:6e5:fc71:551c with SMTP id z16-20020a056a00241000b006e5fc71551cmr5183489pfh.4.1710028479878; Sat, 09 Mar 2024 15:54:39 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9d80:4380::bc23]) by smtp.gmail.com with ESMTPSA id f49-20020a056a000b3100b006e4dad633e1sm1768681pfu.177.2024.03.09.15.54.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Mar 2024 15:54:39 -0800 (PST) From: Khem Raj <raj.khem@gmail.com> To: elfutils-devel@sourceware.org Cc: Khem Raj <raj.khem@gmail.com> Subject: [PATCH] debuginfod: Remove unused variable Date: Sat, 9 Mar 2024 15:54:35 -0800 Message-ID: <20240309235435.515735-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Elfutils-devel mailing list <elfutils-devel.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/elfutils-devel>, <mailto:elfutils-devel-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/elfutils-devel/> List-Post: <mailto:elfutils-devel@sourceware.org> List-Help: <mailto:elfutils-devel-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/elfutils-devel>, <mailto:elfutils-devel-request@sourceware.org?subject=subscribe> Errors-To: elfutils-devel-bounces+patchwork=sourceware.org@sourceware.org |
Series |
debuginfod: Remove unused variable
|
|
Commit Message
Khem Raj
March 9, 2024, 11:54 p.m. UTC
Recent commit acd9525e9 has removed all references to max_fds
therefore remove it, moreover clang18 is happier
| ../../elfutils-0.191/debuginfod/debuginfod.cxx:1448:8: error: private field 'max_fds' is not used [-Werror,-Wunused-private-field]
| 1448 | long max_fds;
| | ^
| 1 error generated.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
debuginfod/debuginfod.cxx | 1 -
1 file changed, 1 deletion(-)
Comments
Khem Raj <raj.khem@gmail.com> writes: > Recent commit acd9525e9 has removed all references to max_fds > therefore remove it, moreover clang18 is happier Thanks, merged as obvious. - FChE
diff --git a/debuginfod/debuginfod.cxx b/debuginfod/debuginfod.cxx index 560880f2..72617848 100644 --- a/debuginfod/debuginfod.cxx +++ b/debuginfod/debuginfod.cxx @@ -1445,7 +1445,6 @@ private: map<key,fdcache_entry> entries; // optimized for lookup time_t last_cleaning; - long max_fds; long max_mbs; public: