File no-return-in-nonvoid-function.patch of Package gpicview

diff -ur gpicview-0.1.11.old//src/main-win.c gpicview-0.1.11/src/main-win.c
--- gpicview-0.1.11.old//src/main-win.c	2008-12-16 15:51:33.000000000 +0100
+++ gpicview-0.1.11/src/main-win.c	2009-03-12 08:25:50.704021741 +0100
@@ -694,7 +694,7 @@
     else if(i == -45)	return 7;
     else if(i == -90)	return 2;
     else if(i == -135)	return 5;
-    else if(i == -180)	return 4;
+    else return 4;
 }
 
 static int get_new_angle( int orig_angle, int rotate_angle )
openSUSE Build Service is sponsored by