CHG: coverity complains about not reading the value from mifare_send_short

CHG: ubuntu 14.04 gcc4.8.4 complains about mem_avail still. Don't know why.
This commit is contained in:
iceman1001 2017-01-09 22:15:36 +01:00
commit dd83c4572b
4 changed files with 97 additions and 261 deletions

View file

@ -769,7 +769,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: %lu\n", gotBytes);
printf("Num of bytes: %u\n", gotBytes);
// print the dump
printf("------+--+-------------------------+\n");