nfc-tools / mfoc

Mifare Classic Offline Cracker
GNU General Public License v2.0
1.22k stars 269 forks source link

FIX: warnings on gcc v7.2 ubuntu #50

Closed iceman1001 closed 6 years ago

iceman1001 commented 6 years ago

This fixes

when compiling on gcc version 7.2.0 (Ubuntu 7.2.0-1ubuntu1~16.04)

slre.c:37:0: warning: "DBG" redefined
#define DBG(x)

In file included from mfoc.c:52:0:
nfc-utils.h:58:0: note: this is the location of the previous definition
  define DBG(...) {}
mfoc.c:913:12: warning: too many arguments for format [-Wformat-extra-args]
smortex commented 6 years ago

Looks good to me :+1: