mirror of
https://github.com/espressif/openthread.git
synced 2026-09-04 00:00:06 +00:00
[code-utils] avoid use of zero variadic macro arguments (#4808)
This commit is contained in:
@@ -50,7 +50,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
|
||||
otInstance *instance = NULL;
|
||||
uint8_t * buf = NULL;
|
||||
|
||||
VerifyOrExit(size <= 65536);
|
||||
VerifyOrExit(size <= 65536, OT_NOOP);
|
||||
|
||||
FuzzerPlatformInit();
|
||||
|
||||
@@ -67,7 +67,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
|
||||
|
||||
otPlatUartReceived(buf, (uint16_t)size);
|
||||
|
||||
VerifyOrExit(!FuzzerPlatformResetWasRequested());
|
||||
VerifyOrExit(!FuzzerPlatformResetWasRequested(), OT_NOOP);
|
||||
|
||||
for (int i = 0; i < MAX_ITERATIONS; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user