fix cov 354645

This commit is contained in:
merlokk 2021-08-09 23:15:24 +03:00
commit 716a3dad05

View file

@ -157,7 +157,6 @@ typedef struct aidhdr {
static int CmdHelp(const char *Cmd); 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) { 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) if (valuePresent != NULL)
*valuePresent = false; *valuePresent = false;