Skip to content

Commit 9c74035

Browse files
committed
change unused parameter to (void*)
1 parent b0edcab commit 9c74035

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

security/default-backend/ndn-lite-default-rng-impl.c

+4-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@
1616
/* always fails and return 0 */
1717
static int ndn_lite_default_rng(uint8_t *dest, unsigned size)
1818
{
19-
if (dest == NULL || size == 0)
20-
return 0;
21-
return 0;
19+
(void*) dest;
20+
(void*) size;
21+
22+
return 0;
2223
}
2324

2425
void

0 commit comments

Comments
 (0)