mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
declare arguments as UNUSED() when used in assertions only
This commit is contained in:
@@ -77,6 +77,8 @@ isc_random_seed(isc_random_t *r, isc_uint32_t seed)
|
||||
{
|
||||
REQUIRE(ISC_RANDOM_VALID(r));
|
||||
|
||||
UNUSED(r);
|
||||
|
||||
initialize();
|
||||
|
||||
#if 0
|
||||
@@ -96,6 +98,8 @@ isc_random_get(isc_random_t *r, isc_uint32_t *val)
|
||||
REQUIRE(ISC_RANDOM_VALID(r));
|
||||
REQUIRE(val != NULL);
|
||||
|
||||
UNUSED(r);
|
||||
|
||||
initialize();
|
||||
|
||||
#if 0
|
||||
|
Reference in New Issue
Block a user