FIX: this should remove a warning.

This commit is contained in:
iceman1001 2016-10-10 21:55:18 +02:00
commit 25cb718daf

View file

@ -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;