mirror of
https://github.com/nfc-tools/mfcuk.git
synced 2026-02-18 02:55:49 +00:00
Remove some unused variables
This commit is contained in:
parent
9d83e8a254
commit
6865db5ad0
@ -64,17 +64,12 @@ int mfcuk_finger_default_decoder(mifare_classic_tag *dump)
|
|||||||
// Yes, I know C++ class inheritance would perfectly fit the decoders/comparators... Though C is more to my heart. Anyone to rewrite in C++?
|
// Yes, I know C++ class inheritance would perfectly fit the decoders/comparators... Though C is more to my heart. Anyone to rewrite in C++?
|
||||||
int mfcuk_finger_skgt_decoder(mifare_classic_tag *dump)
|
int mfcuk_finger_skgt_decoder(mifare_classic_tag *dump)
|
||||||
{
|
{
|
||||||
unsigned char *dump_ptr = NULL;
|
|
||||||
unsigned short car_number = 0;
|
|
||||||
|
|
||||||
if (!dump)
|
if (!dump)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "ERROR: cannot decode a NULL pointer :)\n");
|
fprintf(stderr, "ERROR: cannot decode a NULL pointer :)\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
dump_ptr = (unsigned char *) dump;
|
|
||||||
|
|
||||||
printf("Bulgaria/Sofia/SKGT public transport card information decoder (info credits to Andy)\n");
|
printf("Bulgaria/Sofia/SKGT public transport card information decoder (info credits to Andy)\n");
|
||||||
mfcuk_finger_default_decoder(dump);
|
mfcuk_finger_default_decoder(dump);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user