summaryrefslogtreecommitdiff
path: root/backend/apple.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-02-12 17:36:29 +0100
committerJörg Frings-Fürst <debian@jff.email>2023-02-12 17:36:29 +0100
commit882fd010527b8d8823f09e19edbed3746265fa08 (patch)
treebe5c7cace6697afc753c152d13ad5145d0884a42 /backend/apple.c
parent527bedac30eb120915718eb7997e6dacd583512e (diff)
parente0d94cf4d39395df1e2c6bb4d967200298c13881 (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'backend/apple.c')
-rw-r--r--backend/apple.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/backend/apple.c b/backend/apple.c
index 7b37248..b360e5c 100644
--- a/backend/apple.c
+++ b/backend/apple.c
@@ -328,8 +328,8 @@ return SANE_STATUS_GOOD;
static SANE_Status
sense_handler (int scsi_fd, u_char * result, void *arg)
{
- scsi_fd = scsi_fd; /* silence gcc */
- arg = arg; /* silence gcc */
+ (void) scsi_fd; /* silence gcc */
+ (void) arg; /* silence gcc */
switch (result[2] & 0x0F)
{
@@ -1866,7 +1866,7 @@ sane_init (SANE_Int * version_code, SANE_Auth_Callback authorize)
size_t len;
FILE *fp;
- authorize = authorize; /* silence gcc */
+ (void) authorize; /* silence gcc */
DBG_INIT ();
@@ -1930,7 +1930,7 @@ sane_get_devices (const SANE_Device *** device_list, SANE_Bool local_only)
Apple_Device *dev;
int i;
- local_only = local_only; /* silence gcc */
+ (void) local_only; /* silence gcc */
if (devlist)
free (devlist);
@@ -2667,7 +2667,7 @@ sane_set_io_mode (SANE_Handle handle, SANE_Bool non_blocking)
{
DBG (FLOW_CONTROL,"sane_set_io_mode: Entering.\n");
- handle = handle; /* silence gcc */
+ (void) handle; /* silence gcc */
if (non_blocking)
{
@@ -2682,8 +2682,8 @@ return SANE_STATUS_GOOD;
SANE_Status
sane_get_select_fd (SANE_Handle handle, SANE_Int * fd)
{
- handle = handle; /* silence gcc */
- fd = fd; /* silence gcc */
+ (void) handle; /* silence gcc */
+ (void) fd; /* silence gcc */
DBG (FLOW_CONTROL, "sane_get_select_fd: Don't call me please. "
"Unimplemented function\n");