redundant

This commit is contained in:
iceman1001 2020-05-12 10:30:14 +02:00
commit 5e4c83cc2f
4 changed files with 11 additions and 11 deletions

View file

@ -225,7 +225,7 @@ static int usage_hf_iclass_calc_newkey(void) {
PrintAndLogEx(NORMAL, _YELLOW_("\thf iclass calcnewkey o 1122334455667788 n 2233445566778899"));
PrintAndLogEx(NORMAL, "\nNOTE: * = required");
PrintAndLogEx(NORMAL, "");
return PM3_SUCCESS;;
return PM3_SUCCESS;
}
static int usage_hf_iclass_managekeys(void) {
PrintAndLogEx(NORMAL, "Manage iClass Keys in client memory:\n");
@ -315,7 +315,7 @@ static int usage_hf_iclass_chk(void) {
PrintAndLogEx(NORMAL, _YELLOW_("\thf iclass chk f dictionaries/iclass_default_keys.dic"));
PrintAndLogEx(NORMAL, _YELLOW_("\thf iclass chk f dictionaries/iclass_default_keys.dic e"));
PrintAndLogEx(NORMAL, "");
return PM3_SUCCESS;;
return PM3_SUCCESS;
}
static int usage_hf_iclass_lookup(void) {
PrintAndLogEx(NORMAL, "Lookup keys takes some sniffed trace data and tries to verify what key was used against a dictionary file\n");

View file

@ -2921,7 +2921,7 @@ static int CmdHF14AMfChk(const char *Cmd) {
}
keyBlock = p;
}
PrintAndLogEx(NORMAL, "[%2d] key %s", keycnt, sprint_hex((keyBlock + 6 * keycnt), 6));;
PrintAndLogEx(NORMAL, "[%2d] key %s", keycnt, sprint_hex((keyBlock + 6 * keycnt), 6));
keycnt++;
} else if (clen == 1) {
if (ctmp == 't') { transferToEml = 1; continue; }

View file

@ -1619,7 +1619,7 @@ static int CmdT55xxWakeUp(const char *Cmd) {
uint32_t password = 0;
uint8_t cmdp = 0;
bool errors = false;
uint8_t downlink_mode = config.downlink_mode;;
uint8_t downlink_mode = config.downlink_mode;
while (param_getchar(Cmd, cmdp) != 0x00 && !errors) {
switch (tolower(param_getchar(Cmd, cmdp))) {
@ -1675,7 +1675,7 @@ static int CmdT55xxWriteBlock(const char *Cmd) {
bool errors = false;
bool validate = false;
uint8_t cmdp = 0;
uint32_t downlink_mode = config.downlink_mode;;
uint32_t downlink_mode = config.downlink_mode;
while (param_getchar(Cmd, cmdp) != 0x00 && !errors) {
switch (tolower(param_getchar(Cmd, cmdp))) {
@ -1815,7 +1815,7 @@ static int CmdT55xxDangerousRaw(const char *Cmd) {
static int CmdT55xxReadTrace(const char *Cmd) {
bool frombuff = false;
uint8_t downlink_mode = config.downlink_mode;;
uint8_t downlink_mode = config.downlink_mode;
uint8_t cmdp = 0;
bool errors = false;
@ -2252,7 +2252,7 @@ static int CmdT55xxDump(const char *Cmd) {
uint32_t password = 0;
uint8_t override = 0;
uint8_t downlink_mode = config.downlink_mode;;
uint8_t downlink_mode = config.downlink_mode;
bool usepwd = false;
bool errors = false;
uint8_t cmdp = 0;
@ -2455,7 +2455,7 @@ static int CmdT55xxRestore(const char *Cmd) {
uint32_t password = 0;
uint8_t override = 0;
uint8_t downlink_mode = config.downlink_mode;;
uint8_t downlink_mode = config.downlink_mode;
bool usepwd = false;
bool errors = false;
uint8_t cmdp = 0;
@ -2809,7 +2809,7 @@ static void t55x7_create_config_block(int tagtype) {
static int CmdResetRead(const char *Cmd) {
uint8_t downlink_mode = config.downlink_mode;;
uint8_t downlink_mode = config.downlink_mode;
uint8_t flags = 0;
uint8_t cmdp = 0;
bool errors = false;

View file

@ -87,13 +87,13 @@ static int CmdTIDemod(const char *Cmd) {
int convLen = (highLen > lowLen) ? highLen : lowLen;
uint16_t crc;
int i, j, TagType;
int lowSum = 0, highSum = 0;;
int lowSum = 0, highSum = 0;
int lowTot = 0, highTot = 0;
int retval = PM3_ESOFT;
for (i = 0; i < GraphTraceLen - convLen; i++) {
lowSum = 0;
highSum = 0;;
highSum = 0;
for (j = 0; j < lowLen; j++) {
lowSum += LowTone[j] * GraphBuffer[i + j];