mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-26 16:47:31 -04:00
lib/isc/random.c: Suppress preprocessorErrorDirective error from Cppcheck
This commit is contained in:
parent
d26c36a338
commit
61b3ab76a5
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue