]> git.ipfire.org Git - thirdparty/elfutils.git/commit
readelf: Fix set but not used variable
authorIlya Leoshkevich <iii@linux.ibm.com>
Mon, 6 Feb 2023 22:25:07 +0000 (23:25 +0100)
committerMark Wielaard <mark@klomp.org>
Wed, 8 Feb 2023 17:04:21 +0000 (18:04 +0100)
commit85c82b18475dfe1cbbc4250cfbec7844d233100b
tree72ff3dd5cb3f8f1223e3df2bc4def20f5a6992a8
parent53b596ef4018693403395d702045c15762af3da7
readelf: Fix set but not used variable

clang complains:

    readelf.c:10250:10: error: variable 'nculist' set but not used [-Werror,-Wunused-but-set-variable]
      size_t nculist = 0;
             ^

Fix by deleting it.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
src/readelf.c