fix cov 354645

This commit is contained in:
merlokk committed 2021-08-09 23:15:24 +03:00
1 parent 1051bd2b92
commit 716a3dad05
1 file changed
+1 -2
+1 -2
View File
@@ -157,8 +157,7 @@ typedef struct aidhdr {
static int CmdHelp(const char *Cmd);
static int CLIGetUint32Hex(CLIParserContext *ctx, uint8_t paramnum, uint32_t defaultValue, uint32_t *value, bool *valuePresent, uint8_t nlen, const char *lengthErrorStr) {
if (value != NULL)
*value = defaultValue;
*value = defaultValue;
if (valuePresent != NULL)
*valuePresent = false;