summaryrefslogtreecommitdiff
path: root/backend/stv680.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/stv680.c')
-rw-r--r--backend/stv680.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/backend/stv680.c b/backend/stv680.c
index eb9add5..02ff39d 100644
--- a/backend/stv680.c
+++ b/backend/stv680.c
@@ -1439,7 +1439,7 @@ stv680_bayer_unshuffle (Stv680_Vidcam * dev, SANE_Byte * buf, size_t * size)
"stv680_bayer_unshuffle: if needed, trim to size 160 done\n");
}
/* reset to proper width */
- if ((dev->subsample == 160))
+ if (dev->subsample == 160)
{
vw = 160;
vh = 120;
@@ -1520,7 +1520,7 @@ sane_init (SANE_Int * version_code, SANE_Auth_Callback authorize)
DBG (DBG_sane_init, "sane_init\n");
- authorize = authorize; /* silence gcc */
+ (void) authorize; /* silence gcc */
DBG (DBG_error, "This is sane-stv680 version %d.%d-%d\n", SANE_CURRENT_MAJOR,
SANE_CURRENT_MINOR, BUILD);
@@ -1584,7 +1584,7 @@ sane_get_devices (const SANE_Device *** device_list, SANE_Bool local_only)
DBG (DBG_proc, "sane_get_devices: enter\n");
- local_only = local_only; /* silence gcc */
+ (void) local_only; /* silence gcc */
if (devlist)
free (devlist);
@@ -2073,8 +2073,8 @@ sane_set_io_mode (SANE_Handle handle, SANE_Bool non_blocking)
DBG (DBG_proc, "sane_set_io_mode: enter\n");
- handle = handle; /* silence gcc */
- non_blocking = non_blocking; /* silence gcc */
+ (void) handle; /* silence gcc */
+ (void) non_blocking; /* silence gcc */
DBG (DBG_proc, "sane_set_io_mode: exit\n");
@@ -2087,8 +2087,8 @@ sane_get_select_fd (SANE_Handle handle, SANE_Int * fd)
{
DBG (DBG_proc, "sane_get_select_fd: enter\n");
- handle = handle; /* silence gcc */
- fd = fd; /* silence gcc */
+ (void) handle; /* silence gcc */
+ (void) fd; /* silence gcc */
DBG (DBG_proc, "sane_get_select_fd: exit\n");