mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-20 15:26:13 +08:00
CHG: unused variables and remove of compiler warnings.
This commit is contained in:
parent
f133389866
commit
d3fd5fd6d8
|
@ -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");
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue