summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-03-09 15:54:35 -0800
committerFrank Ch. Eigler <fche@redhat.com>2024-03-10 21:48:22 -0400
commitd74f4c1d572fbeb7454a2ffa02cbc955ea24780d (patch)
tree0b1ce0c2616dfd52e6d7e8f5f8dafc250f076046
parent7cf4586e5b429c0fa74d3ae73f49e6cda6660e93 (diff)
debuginfod: Remove unused variable
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>
-rw-r--r--debuginfod/debuginfod.cxx1
1 files changed, 0 insertions, 1 deletions
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: