summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--signal.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/signal.c b/signal.c
index c109645..4e0d9be 100644
--- a/signal.c
+++ b/signal.c
@@ -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);