From: Pino Toscano Date: Fri, 26 Jun 2015 18:38:31 +0000 (+0200) Subject: tests: Mark an unused argument as such X-Git-Tag: elfutils-0.164~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=204e36ea815440ec17bf388e8f267f0b40c2fb37;p=thirdparty%2Felfutils.git tests: Mark an unused argument as such Signed-off-by: Pino Toscano --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 3a7d3125d..346116823 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +2015-06-26 Pino Toscano + + * tests/vdsosyms.c [!__linux__] (main): Mark argv as unused. + 2015-06-26 Pino Toscano * tests/backtrace-data.c: Reduce scope of some includes to match their diff --git a/tests/vdsosyms.c b/tests/vdsosyms.c index 4f12b9a6a..b876c10bd 100644 --- a/tests/vdsosyms.c +++ b/tests/vdsosyms.c @@ -28,7 +28,7 @@ #ifndef __linux__ int -main (int argc __attribute__ ((unused)), char **argv) +main (int argc __attribute__ ((unused)), char **argv __attribute__ ((unused))) { printf ("Getting the vdso is unsupported.\n"); return 77;