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 [thread overview]
Message-ID: <20240309235435.515735-1-raj.khem@gmail.com> (raw)
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(-)
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:
--
2.44.0
next reply other threads:[~2024-03-09 23:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-09 23:54 Khem Raj [this message]
2024-03-11 1:49 ` Frank Ch. Eigler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240309235435.515735-1-raj.khem@gmail.com \
--to=raj.khem@gmail.com \
--cc=elfutils-devel@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).