cppcheck fixes
This commit is contained in:
1 parent
60491c4f16
commit
0b4d584dd7
6 files changed
+12
-8
No files matched your search
@@ -1213,9 +1213,11 @@ static int CmdHFMFPChk(const char *Cmd) {
|
||||
if (dict_filenamelen) {
|
||||
uint32_t keycnt = 0;
|
||||
res = loadFileDICTIONARYEx((char *)dict_filename, keyList, sizeof(keyList), NULL, 16, &keycnt, 0, &endFilePosition, true);
|
||||
keyListLen = keycnt;
|
||||
if (endFilePosition)
|
||||
|
||||
if (res == PM3_SUCCESS && endFilePosition) {
|
||||
keyListLen = keycnt;
|
||||
PrintAndLogEx(SUCCESS, "First part of dictionary successfully loaded.");
|
||||
}
|
||||
}
|
||||
|
||||
if (keyListLen == 0) {
|
||||
@@ -1255,7 +1257,9 @@ static int CmdHFMFPChk(const char *Cmd) {
|
||||
|
||||
uint32_t keycnt = 0;
|
||||
res = loadFileDICTIONARYEx((char *)dict_filename, keyList, sizeof(keyList), NULL, 16, &keycnt, endFilePosition, &endFilePosition, false);
|
||||
keyListLen = keycnt;
|
||||
if (res == PM3_SUCCESS && endFilePosition) {
|
||||
keyListLen = keycnt;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user