Fix compiler warning.

This commit is contained in:
Romain Tartière 2015-05-11 18:39:32 +02:00
parent b710ba5abd
commit d946230aec

View file

@ -344,7 +344,7 @@ main(int argc, char *argv[])
goto error; goto error;
} }
MifareClassicSectorNumber max_s; MifareClassicSectorNumber max_s = 0;
switch (freefare_get_tag_type (tags[i])) { switch (freefare_get_tag_type (tags[i])) {
case CLASSIC_1K: case CLASSIC_1K:
max_s = 15; max_s = 15;