From ed295cc3449537324a74059647fa35984bc78ab1 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 15 Nov 2019 13:39:16 +0100 Subject: [PATCH] BUILD: contrib/da: remove an "unused" warning The rcsid variable is static an unused, causing a build warning. Let's just add __attribute__((unused)) to shut the warning. This may be backported to 2.0. --- contrib/deviceatlas/dac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/deviceatlas/dac.c b/contrib/deviceatlas/dac.c index 7da697152..f94fe8daf 100644 --- a/contrib/deviceatlas/dac.c +++ b/contrib/deviceatlas/dac.c @@ -3,7 +3,7 @@ #include #include -static char const rcsid[] = "$Id: dac.c, v dummy 1970/01/01 00:00:01 dcarlier Exp $"; +static char const __attribute__((unused)) rcsid[] = "$Id: dac.c, v dummy 1970/01/01 00:00:01 dcarlier Exp $"; struct da_bitset { unsigned long bits[8];