diff options
author | Tommi Rantala <tt.rantala@gmail.com> | 2012-08-02 09:42:21 +0300 |
---|---|---|
committer | Tommi Rantala <tt.rantala@gmail.com> | 2012-08-21 22:30:46 +0300 |
commit | f42a8de0fa4b99c04e38a35bb5fd48a1ba9188b8 (patch) | |
tree | 4ec7c0f9f0d8c772de72f92e0bdb09c02a4c98a3 /tests/Gtest-resume-sig.c | |
parent | 47a99b6f0007c69959d7d56e52243c1780102d80 (diff) | |
download | libunwind-f42a8de0fa4b99c04e38a35bb5fd48a1ba9188b8.tar.gz |
Annotate unused parameters in tests
Compiling the tests with -Wextra results to lots of warnings for unused
parameters. Annotate these cases with the `unused' attribute to avoid
the warnings.
Diffstat (limited to 'tests/Gtest-resume-sig.c')
-rw-r--r-- | tests/Gtest-resume-sig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Gtest-resume-sig.c b/tests/Gtest-resume-sig.c index 68e17ebb..4ed42e3c 100644 --- a/tests/Gtest-resume-sig.c +++ b/tests/Gtest-resume-sig.c @@ -127,7 +127,7 @@ handler (int sig) } int -main (int argc, char **argv) +main (int argc, char **argv __attribute__((unused))) { float d = 1.0; int n = 0; |