]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
debuginfod: Remove unused variable
authorKhem Raj <raj.khem@gmail.com>
Sat, 9 Mar 2024 23:54:35 +0000 (15:54 -0800)
committerFrank Ch. Eigler <fche@redhat.com>
Mon, 11 Mar 2024 01:48:22 +0000 (21:48 -0400)
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

index 560880f22ef1738aceb365e9f7fcf7f13b409301..72617848d0dd1cac36ebefa9ffa358344e13bd58 100644 (file)
@@ -1445,7 +1445,6 @@ private:
 
   map<key,fdcache_entry> entries; // optimized for lookup
   time_t last_cleaning;
-  long max_fds;
   long max_mbs;
 
 public: