]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
tests: Mark an unused argument as such
authorPino Toscano <toscano.pino@tiscali.it>
Fri, 26 Jun 2015 18:38:31 +0000 (20:38 +0200)
committerMark Wielaard <mjw@redhat.com>
Sat, 27 Jun 2015 13:01:11 +0000 (15:01 +0200)
Signed-off-by: Pino Toscano <toscano.pino@tiscali.it>
tests/ChangeLog
tests/vdsosyms.c

index 3a7d3125d55ce18ee050726bb17ce4f8da96a93b..346116823130a77f5a70ab27a77aa6e63726b884 100644 (file)
@@ -1,3 +1,7 @@
+2015-06-26  Pino Toscano  <toscano.pino@tiscali.it>
+
+       * tests/vdsosyms.c [!__linux__] (main): Mark argv as unused.
+
 2015-06-26  Pino Toscano  <toscano.pino@tiscali.it>
 
        * tests/backtrace-data.c: Reduce scope of some includes to match their
index 4f12b9a6a1d3a4720ba1b148281bf1a928c45b27..b876c10bde1217a758326d2b7e17a2ae41adea2d 100644 (file)
@@ -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;