diff options
Diffstat (limited to 'backend/hp.c')
-rw-r--r-- | backend/hp.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/backend/hp.c b/backend/hp.c index c85e40c..f00b82d 100644 --- a/backend/hp.c +++ b/backend/hp.c @@ -468,13 +468,11 @@ static void hp_device_info_remove (void) { HpDeviceInfoList next, infolistelement = global.infolist; - HpDeviceInfo *info; if (!global.is_up) return; while (infolistelement) { - info = &(infolistelement->info); next = infolistelement->next; sanei_hp_free (infolistelement); infolistelement = next; @@ -811,7 +809,7 @@ hp_update_devlist (void) */ SANE_Status -sane_init (SANE_Int *version_code, SANE_Auth_Callback UNUSEDARG authorize) +sane_init (SANE_Int *version_code, SANE_Auth_Callback __sane_unused__ authorize) {SANE_Status status; DBG_INIT(); @@ -839,7 +837,7 @@ sane_exit (void) SANE_Status sane_get_devices (const SANE_Device ***device_list, - SANE_Bool UNUSEDARG local_only) + SANE_Bool __sane_unused__ local_only) { DBG(3, "sane_get_devices called\n"); |