summaryrefslogtreecommitdiff
path: root/backend/hp.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-05-24 21:03:56 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-05-24 21:03:56 +0200
commit58912f68c2489bcee787599837447e0d64dfd61a (patch)
treedda50aadde35fe152da1a8d50769987ace0f1496 /backend/hp.c
parentcfd27ef2ad8b005fd47ab41ef29b71d9e3d48201 (diff)
New upstream version 1.0.27upstream/1.0.27
Diffstat (limited to 'backend/hp.c')
-rw-r--r--backend/hp.c6
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");