From dab1963d4f031ac7c5cc094e8410041e734c7c82 Mon Sep 17 00:00:00 2001 From: Peter Fales Date: Tue, 16 Oct 2001 00:26:58 +0000 Subject: [PATCH] Minor cosmetic changes and changes to match gphoto2 API --- backend/gphoto2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/gphoto2.c b/backend/gphoto2.c index 0fa01fdcc..ddd9621dc 100644 --- a/backend/gphoto2.c +++ b/backend/gphoto2.c @@ -339,6 +339,8 @@ init_gphoto2 (void) DBG (1, "GPHOTO2 Backend 05/16/01\n"); + gp_debug_printf(GP_DEBUG_HIGH,"SANE","Initializing\n"); + CHECK_RET (gp_camera_new (&camera)); if (!Cam_data.camera_name) @@ -1493,10 +1495,8 @@ read_info (SANE_String_Const fname) * set_res - set picture size depending on resolution settings */ static void -set_res (SANE_Int lowres) +set_res (SANE_Int UNUSEDARG lowres) { - lowres - lowres; - if (gphoto2_opt_thumbnails) { parms.bytes_per_line = THUMB_WIDTH * 3;