summaryrefslogtreecommitdiff
path: root/backend/hp.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-15 11:25:39 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-15 11:25:39 +0200
commit1edb02101a9306fc711cd422ed507d18165b1691 (patch)
treebd2d48a139bfbe869f4f49359b63097931a45e7b /backend/hp.c
parent2ca8a81bd0d99fe4d75c229d0e988d8ef710285f (diff)
move from support/1.0.27 to feature/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");