Re: [PATCH RFC 05/11] readelf: Fix set but not used variable

2023-02-08 Thread Mark Wielaard
Hi Ilya, On Mon, 2023-02-06 at 23:25 +0100, Ilya Leoshkevich via Elfutils-devel wrote: > 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. yeah, this

[PATCH RFC 05/11] readelf: Fix set but not used variable

2023-02-06 Thread Ilya Leoshkevich via Elfutils-devel
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 --- src/readelf.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/reade