summaryrefslogtreecommitdiff
path: root/backend/umax-usb.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/umax-usb.c
parent302276dc1b90cfc972fb726ca94a23b18f4b0088 (diff)
New upstream version 1.2.1upstream/1.2.1
Diffstat (limited to 'backend/umax-usb.c')
-rw-r--r--backend/umax-usb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/umax-usb.c b/backend/umax-usb.c
index 05019c7..ab772fe 100644
--- a/backend/umax-usb.c
+++ b/backend/umax-usb.c
@@ -261,8 +261,8 @@ sanei_umaxusb_open (const char *dev, int *fdp,
{
SANE_Status status;
- handler = handler; /* silence gcc */
- handler_arg = handler_arg; /* silence gcc */
+ (void) handler; /* silence gcc */
+ (void) handler_arg; /* silence gcc */
status = sanei_usb_open (dev, fdp);
if (status != SANE_STATUS_GOOD) {
@@ -306,7 +306,7 @@ static SANE_Status
sanei_umaxusb_open_extended (const char *dev, int *fdp,
SANEI_SCSI_Sense_Handler handler, void *handler_arg, int *buffersize)
{
- buffersize = buffersize;
+ (void) buffersize;
return(sanei_umaxusb_open(dev, fdp, handler, handler_arg));
}