summaryrefslogtreecommitdiff
path: root/sanei/sanei_magic.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-02-12 17:36:10 +0100
committerJörg Frings-Fürst <debian@jff.email>2023-02-12 17:36:10 +0100
commite0d94cf4d39395df1e2c6bb4d967200298c13881 (patch)
treebe5c7cace6697afc753c152d13ad5145d0884a42 /sanei/sanei_magic.c
parent527bedac30eb120915718eb7997e6dacd583512e (diff)
parent84357741a6a6e6430f199b2c3f7498e0e97da9ad (diff)
Update upstream source from tag 'upstream/1.2.1'
Update to upstream version '1.2.1' with Debian dir a9bb43f754a5c9a361b076af3635cc767b7e652e
Diffstat (limited to 'sanei/sanei_magic.c')
-rw-r--r--sanei/sanei_magic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sanei/sanei_magic.c b/sanei/sanei_magic.c
index f5d1ac0..e62c56a 100644
--- a/sanei/sanei_magic.c
+++ b/sanei/sanei_magic.c
@@ -527,7 +527,7 @@ sanei_magic_findSkew(SANE_Parameters * params, SANE_Byte * buffer,
DBG (10, "sanei_magic_findSkew: start\n");
- dpiX=dpiX;
+ (void) dpiX;
/* get buffers for edge detection */
topBuf = sanei_magic_getTransY(params,dpiY,buffer,1);
@@ -1406,7 +1406,7 @@ getLine (int height, int width, int * buff,
minSlope,maxSlope,minOffset,maxOffset);
/*silence compiler*/
- height = height;
+ (void) height;
if(absMaxSlope < absMinSlope)
absMaxSlope = absMinSlope;