FIX: this should remove a warning.
This commit is contained in:
@@ -629,7 +629,7 @@ int CmdLegicRfWrite(const char *Cmd) {
|
|||||||
PrintAndLog("#####################################");
|
PrintAndLog("#####################################");
|
||||||
PrintAndLog("do you really want to continue? y(es) n(o)");
|
PrintAndLog("do you really want to continue? y(es) n(o)");
|
||||||
char answer;
|
char answer;
|
||||||
sscanf("%c", &answer);
|
sscanf(" %c", &answer);
|
||||||
bool exit = !(answer == 'n' || answer == 'N');
|
bool exit = !(answer == 'n' || answer == 'N');
|
||||||
if (exit)
|
if (exit)
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user