Fix some warnings in test.

This commit is contained in:
Audrey Diacre 2011-11-24 11:12:01 +00:00
parent 784a2f86a2
commit 9e67423cff
4 changed files with 5 additions and 5 deletions

View file

@ -32,7 +32,7 @@ test_access_storm (void)
nfc_device *device;
nfc_target ant[MAX_TARGET_COUNT];
device = nfc_connect (&(connstrings[i]));
device = nfc_connect (connstrings[i]);
cut_assert_not_null (device, cut_message ("nfc_connect"));
res = nfc_initiator_init(device);

View file

@ -33,8 +33,8 @@ cut_setup (void)
cut_omit ("At least two NFC devices must be plugged-in to run this test");
}
devices[TARGET] = nfc_connect (&connstrings[TARGET]);
devices[INITIATOR] = nfc_connect (&connstrings[INITIATOR]);
devices[TARGET] = nfc_connect (connstrings[TARGET]);
devices[INITIATOR] = nfc_connect (connstrings[INITIATOR]);
signal (SIGINT, abort_test_by_keypress);
}

View file

@ -19,7 +19,7 @@ test_register_endianness (void)
nfc_device *device;
device = nfc_connect (&(connstrings[0]));
device = nfc_connect (connstrings[0]);
cut_assert_not_null (device, cut_message ("nfc_connect"));
uint8_t value;

View file

@ -20,7 +20,7 @@ test_register_endianness (void)
nfc_device *device;
device = nfc_connect (&(connstrings[0]));
device = nfc_connect (connstrings[0]);
cut_assert_not_null (device, cut_message ("nfc_connect"));
uint8_t value;