mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-07-20 18:51:48 +00:00
fixed windows compiling issues
This commit is contained in:
@@ -45,7 +45,7 @@ static byte_t abtFelica[5] = { 0x00, 0xff, 0xff, 0x00, 0x00 };
|
||||
int main(int argc, const char* argv[])
|
||||
{
|
||||
size_t szFound;
|
||||
int i;
|
||||
size_t i;
|
||||
nfc_target_info_t nti;
|
||||
nfc_device_desc_t *pnddDevices;
|
||||
|
||||
|
||||
@@ -338,6 +338,7 @@ int main(int argc, const char* argv[])
|
||||
byte_t* pbtUID;
|
||||
FILE* pfKeys = NULL;
|
||||
FILE* pfDump = NULL;
|
||||
const char* command = argv[1];
|
||||
|
||||
if(argc < 2)
|
||||
{
|
||||
@@ -345,7 +346,6 @@ int main(int argc, const char* argv[])
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
const char* command = argv[1];
|
||||
if(strcmp(command, "r") == 0)
|
||||
{
|
||||
atAction = ACTION_READ;
|
||||
|
||||
Reference in New Issue
Block a user