coverity fix

This commit is contained in:
iceman1001 2020-12-24 10:55:36 +01:00
parent 902b6c9866
commit 3d76be2dbd

View file

@ -52,13 +52,15 @@ int CmdHFSearch(const char *Cmd) {
CLIParserInit(&ctx, "hf search", CLIParserInit(&ctx, "hf search",
"Will try to find a HF read out of the unknown tag.\n" "Will try to find a HF read out of the unknown tag.\n"
"Continues to search for all different HF protocols.", "Continues to search for all different HF protocols.",
"hf sniff" "hf search"
); );
void *argtable[] = { void *argtable[] = {
arg_param_begin, arg_param_begin,
arg_param_end arg_param_end
}; };
CLIExecWithReturn(ctx, Cmd, argtable, true); CLIExecWithReturn(ctx, Cmd, argtable, true);
CLIParserFree(ctx);
int res = PM3_ESOFT; int res = PM3_ESOFT;
PROMPT_CLEARLINE; PROMPT_CLEARLINE;