Fix warnings: ignoring return value of 'pipe' & discarding const qualifier

This commit is contained in:
Philippe Teuwen
2013-02-21 23:08:19 +01:00
parent 24e1edd858
commit 72b10c5d9b
4 changed files with 16 additions and 6 deletions

View File

@@ -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);
}