summaryrefslogtreecommitdiff
path: root/backend/v4l.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-02-16 10:20:08 +0100
committerJörg Frings-Fürst <debian@jff.email>2023-02-16 10:20:08 +0100
commit778ebf8ee9cb22ea5727844333bcd5a6ee6bc0de (patch)
treea754e785b286ed82b45fe4e50b980714ad80e0a7 /backend/v4l.c
parent7d8aac1f3634dc58785bec7acf097dd6bac8c394 (diff)
parent32cb765f681299af226ca0520993cbe47ba5ecd0 (diff)
Merge branch 'release/debian/1.2.1-1'debian/1.2.1-1
Diffstat (limited to 'backend/v4l.c')
-rw-r--r--backend/v4l.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/v4l.c b/backend/v4l.c
index bce3c3a..d7ab8e7 100644
--- a/backend/v4l.c
+++ b/backend/v4l.c
@@ -434,7 +434,7 @@ sane_init (SANE_Int * version_code, SANE_Auth_Callback authorize)
size_t len;
FILE *fp;
- authorize = authorize; /* stop gcc from complaining */
+ (void) authorize; /* stop gcc from complaining */
DBG_INIT ();
DBG (2, "SANE v4l backend version %d.%d build %d from %s\n", SANE_CURRENT_MAJOR,
@@ -1007,7 +1007,7 @@ sane_start (SANE_Handle handle)
buffer = NULL;
return SANE_STATUS_IO_ERROR;
}
- DBG (3, "sane_start: mmapped frame, capture 1 pict into %p\n", buffer);
+ DBG (3, "sane_start: mmapped frame, capture 1 pict into %p\n", (void *) buffer);
s->mmap.frame = 0;
s->mmap.width = s->window.width;
/* s->mmap.width = parms.pixels_per_line; ??? huh? */