mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 02:27:26 -07:00
fix: 'hf mf csave' unused code
This commit is contained in:
parent
f58c47a7b8
commit
aaac99fdee
1 changed files with 4 additions and 2 deletions
|
@ -2749,8 +2749,11 @@ int CmdHF14AMfCLoad(const char *Cmd) {
|
|||
}
|
||||
}
|
||||
|
||||
if ( res )
|
||||
if ( res ) {
|
||||
if ( data )
|
||||
free(data);
|
||||
return 1;
|
||||
}
|
||||
|
||||
// PrintAndLogEx(INFO, "DATA | %s", sprint_hex(data+1000, 24) );
|
||||
|
||||
|
@ -2922,7 +2925,6 @@ int CmdHF14AMfCSave(const char *Cmd) {
|
|||
errors = true;
|
||||
break;
|
||||
}
|
||||
if (len > FILE_PATH_SIZE - 5) len = FILE_PATH_SIZE - 5;
|
||||
|
||||
useuid = false;
|
||||
hasname = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue