remove reduntant

This commit is contained in:
iceman1001 2022-01-29 10:07:53 +01:00
commit 5b8b4b295c

View file

@ -388,14 +388,12 @@ static int CmdPyramidSim(const char *Cmd) {
return PM3_EINVARG; return PM3_EINVARG;
} }
} else { } else {
if (use_raw) {
// --raw and --fc/cn are mutually exclusive // --raw and --fc/cn are mutually exclusive
if (use_raw) { if (use_raw) {
PrintAndLogEx(FAILED, "Can't specify both raw and fc/cn at the same time"); PrintAndLogEx(FAILED, "Can't specify both raw and fc/cn at the same time");
return PM3_EINVARG; return PM3_EINVARG;
} }
} }
}
uint8_t bs[sizeof(raw) * 8]; uint8_t bs[sizeof(raw) * 8];
memset(bs, 0x00, sizeof(bs)); memset(bs, 0x00, sizeof(bs));