From 61b3ab76a5bf4218297d59c87fdb5ef87828efbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Thu, 3 Oct 2019 12:49:53 +0200 Subject: [PATCH] lib/isc/random.c: Suppress preprocessorErrorDirective error from Cppcheck --- lib/isc/random.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/isc/random.c b/lib/isc/random.c index b79b6891ab..6406114a0f 100644 --- a/lib/isc/random.c +++ b/lib/isc/random.c @@ -144,6 +144,7 @@ isc_random_get(uint32_t *val) { *val = ((rand() >> 4) & 0x000007ff) | ((rand() << 7) & 0x003ff800) | ((rand() << 18) & 0xffc00000); #else +/* cppcheck-suppress preprocessorErrorDirective */ #error RAND_MAX is too small #endif #else