| commit | f42a8de0fa4b99c04e38a35bb5fd48a1ba9188b8 | [log] [tgz] |
|---|---|---|
| author | Tommi Rantala <tt.rantala@gmail.com> | Thu Aug 02 09:42:21 2012 +0300 |
| committer | Tommi Rantala <tt.rantala@gmail.com> | Tue Aug 21 22:30:46 2012 +0300 |
| tree | 4ec7c0f9f0d8c772de72f92e0bdb09c02a4c98a3 | |
| parent | 47a99b6f0007c69959d7d56e52243c1780102d80 [diff] [blame] |
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.
diff --git a/tests/test-async-sig.c b/tests/test-async-sig.c index 5e90690..296d58d 100644 --- a/tests/test-async-sig.c +++ b/tests/test-async-sig.c
@@ -158,7 +158,7 @@ } int -main (int argc, char **argv) +main (int argc, char **argv __attribute__((unused))) { struct sigaction act; long i = 0;