Package: scottfree / 1.14-10

03_clang.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Provide an explicit return value
Author: Nicolas Sévelin-Radiguet <nicosr@free.fr>
Origin: https://bugs.debian.org/760675

--- a/ScottCurses.c
+++ b/ScottCurses.c
@@ -1164,7 +1164,7 @@
 					if(f2==2)
 						doagain=1;
 					if(vb!=0 && doagain==0)
-						return;
+						return 0;
 				}
 			}
 		}