From: iceman1001 Date: Mon, 16 Jan 2017 14:00:40 +0000 (+0100) Subject: CHG: unused variables and remove of compiler warnings. X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/d3fd5fd6d85f953352144f569e910dc6237bd66f?hp=f133389866b5749a49265eb0477540ccdcc8a73f CHG: unused variables and remove of compiler warnings. --- diff --git a/client/cmdhficlass.c b/client/cmdhficlass.c index c4f72709..273d24ae 100644 --- a/client/cmdhficlass.c +++ b/client/cmdhficlass.c @@ -880,7 +880,7 @@ int CmdHFiClassReader_Dump(const char *Cmd) { if (have_debit_key) memcpy(tag_data+(3*8),div_key,8); if (have_credit_key) memcpy(tag_data+(4*8),c_div_key,8); - printf("Num of bytes: %u\n", gotBytes); + printf("Num of bytes: %d\n", gotBytes); // print the dump printf("------+--+-------------------------+\n"); diff --git a/common/protocols.c b/common/protocols.c index 29ae24a7..420d575a 100644 --- a/common/protocols.c +++ b/common/protocols.c @@ -60,7 +60,7 @@ void fuse_config(const picopass_hdr *hdr) { void getMemConfig(uint8_t mem_cfg, uint8_t chip_cfg, uint8_t *max_blk, uint8_t *app_areas, uint8_t *kb) { // mem-bit 5, mem-bit 7, chip-bit 4: defines chip type uint8_t k16 = isset(mem_cfg, 0x80); - uint8_t k2 = isset(mem_cfg, 0x08); + //uint8_t k2 = isset(mem_cfg, 0x08); uint8_t book = isset(mem_cfg, 0x20); if(isset(chip_cfg, 0x10) && !k16 && !book) {