diff --git a/test/default/sodium_utils2.c b/test/default/sodium_utils2.c index 7bf1b30f..b89d0782 100644 --- a/test/default/sodium_utils2.c +++ b/test/default/sodium_utils2.c @@ -14,6 +14,8 @@ static void segv_handler(int sig) { + (void) sig; + printf("Intentional segfault / bus error caught\n"); printf("OK\n"); #ifdef SIGSEGV diff --git a/test/default/sodium_utils3.c b/test/default/sodium_utils3.c index bf261e6b..4f9ad1f2 100644 --- a/test/default/sodium_utils3.c +++ b/test/default/sodium_utils3.c @@ -14,6 +14,8 @@ static void segv_handler(int sig) { + (void) sig; + printf("Intentional segfault / bus error caught\n"); printf("OK\n"); #ifdef SIGSEGV