summaryrefslogtreecommitdiff
path: root/tests/Gtest-resume-sig.c
diff options
context:
space:
mode:
authorTommi Rantala <tt.rantala@gmail.com>2012-08-02 09:42:21 +0300
committerTommi Rantala <tt.rantala@gmail.com>2012-08-21 22:30:46 +0300
commitf42a8de0fa4b99c04e38a35bb5fd48a1ba9188b8 (patch)
tree4ec7c0f9f0d8c772de72f92e0bdb09c02a4c98a3 /tests/Gtest-resume-sig.c
parent47a99b6f0007c69959d7d56e52243c1780102d80 (diff)
downloadlibunwind-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.c2
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;