diff options
author | Pino Toscano <[email protected]> | 2015-06-26 20:38:31 +0200 |
---|---|---|
committer | Mark Wielaard <[email protected]> | 2015-06-27 15:01:11 +0200 |
commit | 204e36ea815440ec17bf388e8f267f0b40c2fb37 (patch) | |
tree | b01f7e9719ef727b5ac22a65f1706ef7c825223a | |
parent | 65251494ae6eae66bfdf9134189fd11b1ee8e9b5 (diff) |
tests: Mark an unused argument as such
Signed-off-by: Pino Toscano <[email protected]>
-rw-r--r-- | tests/ChangeLog | 4 | ||||
-rw-r--r-- | tests/vdsosyms.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index 3a7d3125..34611682 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,5 +1,9 @@ 2015-06-26 Pino Toscano <[email protected]> + * tests/vdsosyms.c [!__linux__] (main): Mark argv as unused. + +2015-06-26 Pino Toscano <[email protected]> + * tests/backtrace-data.c: Reduce scope of some includes to match their usage. * tests/backtrace.c: Likewise. diff --git a/tests/vdsosyms.c b/tests/vdsosyms.c index 4f12b9a6..b876c10b 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; |