File fix-no-return-in-nonvoid-function.patch of Package sane-backends

--- backend/kodakaio.c.orig	2012-08-10 02:33:29.000000000 +0200
+++ backend/kodakaio.c	2012-10-16 15:53:59.000000000 +0200
@@ -666,8 +666,11 @@ kodakaio_net_read(struct KodakAio_Scanne
 		DBG(32, "net read %d bytes:%x,%x,%x,%x,%x,%x,%x,%x\n",read,buf[0],buf[1],buf[2],buf[3],buf[4],buf[5],buf[6],buf[7]);
 		return read;
 	}
-	else
+	else {
 		DBG(1, "Unknown problem with poll\n");
+		*status = SANE_STATUS_IO_ERROR;
+	}
+	return read;
 }
 
 /* kodak does not pad commands like magicolor, so there's only a write_raw function */
openSUSE Build Service is sponsored by