diff options
| author | Jörg Frings-Fürst <debian@jff.email> | 2023-02-16 10:20:08 +0100 | 
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff.email> | 2023-02-16 10:20:08 +0100 | 
| commit | 778ebf8ee9cb22ea5727844333bcd5a6ee6bc0de (patch) | |
| tree | a754e785b286ed82b45fe4e50b980714ad80e0a7 /backend/hp5400_sane.c | |
| parent | 7d8aac1f3634dc58785bec7acf097dd6bac8c394 (diff) | |
| parent | 32cb765f681299af226ca0520993cbe47ba5ecd0 (diff) | |
Merge branch 'release/debian/1.2.1-1'debian/1.2.1-1
Diffstat (limited to 'backend/hp5400_sane.c')
| -rw-r--r-- | backend/hp5400_sane.c | 10 | 
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;  } | 
