diff options
author | Jakob Kaivo <jkk@ung.org> | 2020-08-15 14:35:03 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2020-08-15 14:35:03 -0400 |
commit | 24329329e799f9fc83b6a3f8106b6fb9651ec716 (patch) | |
tree | 178872d380e4ebf077b632d4dfcbca7833d878f5 | |
parent | 21de485738381f5e326b92a14c9c5c96f0462a0c (diff) |
remove warning about unused variable
-rw-r--r-- | signal.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -3,7 +3,7 @@ void test_signal_h(void) { - sig_atomic_t sig_atomic; + sig_atomic_t sig_atomic = 0; int signals[] = { SIGABRT, @@ -14,6 +14,8 @@ void test_signal_h(void) SIGTERM, }; + (void)sig_atomic; + testing_header("signal.h"); test_distinct(signals); |