mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-04-11 00:56:18 +00:00
Fix warnings: ignoring return value of 'pipe' & discarding const qualifier
This commit is contained in:
@@ -186,7 +186,7 @@ void
|
||||
nfc_exit(nfc_context *context)
|
||||
{
|
||||
while (nfc_drivers) {
|
||||
struct nfc_driver_list *pndl = nfc_drivers;
|
||||
struct nfc_driver_list *pndl = (struct nfc_driver_list *) nfc_drivers;
|
||||
nfc_drivers = pndl->next;
|
||||
free(pndl);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user