summaryrefslogtreecommitdiff
path: root/backend/hp5400_sane.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-02-12 17:35:53 +0100
committerJörg Frings-Fürst <debian@jff.email>2023-02-12 17:35:53 +0100
commit84357741a6a6e6430f199b2c3f7498e0e97da9ad (patch)
tree23e8d66ede9506b94c76fb36910ca3c7dd15c74e /backend/hp5400_sane.c
parent302276dc1b90cfc972fb726ca94a23b18f4b0088 (diff)
New upstream version 1.2.1upstream/1.2.1upstream
Diffstat (limited to 'backend/hp5400_sane.c')
-rw-r--r--backend/hp5400_sane.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/backend/hp5400_sane.c b/backend/hp5400_sane.c
index 5043dad..5e716a2 100644
--- a/backend/hp5400_sane.c
+++ b/backend/hp5400_sane.c
@@ -611,7 +611,7 @@ sane_init (SANE_Int * piVersion, SANE_Auth_Callback pfnAuth)
int nline = 0;
/* prevent compiler from complaining about unused parameters */
- pfnAuth = pfnAuth;
+ (void) pfnAuth;
strcpy(usb_devfile, "/dev/usb/scanner0");
_pFirstSaneDev = 0;
@@ -712,7 +712,7 @@ sane_get_devices (const SANE_Device *** device_list, SANE_Bool local_only)
HP5400_DBG (DBG_MSG, "sane_get_devices\n");
- local_only = local_only;
+ (void) local_only;
if (_pSaneDevList)
{
@@ -1333,7 +1333,7 @@ sane_set_io_mode (SANE_Handle h, SANE_Bool m)
HP5400_DBG (DBG_MSG, "sane_set_io_mode %s\n", m ? "non-blocking" : "blocking");
/* prevent compiler from complaining about unused parameters */
- h = h;
+ (void) h;
if (m)
{
@@ -1349,8 +1349,8 @@ sane_get_select_fd (SANE_Handle h, SANE_Int * fd)
HP5400_DBG (DBG_MSG, "sane_select_fd\n");
/* prevent compiler from complaining about unused parameters */
- h = h;
- fd = fd;
+ (void) h;
+ (void) fd;
return SANE_STATUS_UNSUPPORTED;
}