[code-utils] avoid use of zero variadic macro arguments (#4808)

This commit is contained in:
Jonathan Hui
2020-04-15 15:32:26 -07:00
parent b669914963
commit a4592234f8
100 changed files with 691 additions and 618 deletions
+2 -2
View File
@@ -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++)
{