Re: [PATCH] lib: Fix unused parameter warning in lib/error.c

2021-09-09 Thread Mark Wielaard
Hi Colin (CC Saleem who introduced this new error replacement function), On Wed, 2021-09-08 at 11:21 -0700, Colin Cross via Elfutils-devel wrote: > Mark the errnum parameter with __attribute__((unused)). Thanks, that is interesting. But I think this is an actual bug in the code. Rereviewing the

[PATCH] lib: Fix unused parameter warning in lib/error.c

2021-09-08 Thread Colin Cross via Elfutils-devel
Mark the errnum parameter with __attribute__((unused)). Signed-off-by: Colin Cross --- lib/error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/error.c b/lib/error.c index 75e964fd..651a0f3d 100644 --- a/lib/error.c +++ b/lib/error.c @@ -35,7 +35,7 @@ unsigned int e