summaryrefslogtreecommitdiffstats
path: root/src/libcryptobox/cryptobox.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcryptobox/cryptobox.c')
-rw-r--r--src/libcryptobox/cryptobox.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libcryptobox/cryptobox.c b/src/libcryptobox/cryptobox.c
index d8f5459d3..1dcd18838 100644
--- a/src/libcryptobox/cryptobox.c
+++ b/src/libcryptobox/cryptobox.c
@@ -245,6 +245,8 @@ rspamd_cryptobox_test_instr (gint instr)
signal (SIGILL, old_handler);
#endif
+ (void)rd; /* Silence warning */
+
/* We actually never return here if SIGILL has been caught */
return ok == 1;
}
@@ -354,6 +356,8 @@ rspamd_cryptobox_init (void)
case CPUID_RDRAND:
rspamd_printf_gstring (buf, "rdrand, ");
break;
+ default:
+ break; /* Silence warning */
}
}
}