cppcheck fixes

This commit is contained in:
iceman1001 committed 2022-01-06 21:00:16 +01:00
1 parent edb5f18b3a
commit 05576ba06b
10 files changed
+34 -54

No files matched your search

-8
View File
@@ -54,14 +54,6 @@ static int switch_off_field_14b(void) {
return PM3_SUCCESS;
}
static uint16_t get_sw(uint8_t *d, uint8_t n) {
if (n < 2)
return 0;
n -= 2;
return d[n] * 0x0100 + d[n + 1];
}
static void hf14b_aid_search(bool verbose) {
json_t *root = AIDSearchInit(verbose);