fix: 'hf mf csave' unused code
This commit is contained in:
@@ -2749,8 +2749,11 @@ int CmdHF14AMfCLoad(const char *Cmd) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( res )
|
if ( res ) {
|
||||||
|
if ( data )
|
||||||
|
free(data);
|
||||||
return 1;
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
// PrintAndLogEx(INFO, "DATA | %s", sprint_hex(data+1000, 24) );
|
// PrintAndLogEx(INFO, "DATA | %s", sprint_hex(data+1000, 24) );
|
||||||
|
|
||||||
@@ -2922,7 +2925,6 @@ int CmdHF14AMfCSave(const char *Cmd) {
|
|||||||
errors = true;
|
errors = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (len > FILE_PATH_SIZE - 5) len = FILE_PATH_SIZE - 5;
|
|
||||||
|
|
||||||
useuid = false;
|
useuid = false;
|
||||||
hasname = true;
|
hasname = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user