File cube-escape-0.8-nonvoid.patch of Package cube-escape

Index: src/main.c
===================================================================
--- src/main.c.orig
+++ src/main.c
@@ -572,6 +572,7 @@ int PickCurrentQuad()
         if (total == 4)
             return quad;
     }
+    return 0;
 }
 
 
@@ -1418,4 +1419,5 @@ int main( int argc, char *argv[] )
         printf("Average FPS: %.2f\n", (float)n_frames * 1000.0f / total_ticks);
 #endif
     Quit(0);
+    return 0;
 }
Index: src/maze.c
===================================================================
--- src/maze.c.orig
+++ src/maze.c
@@ -395,6 +395,7 @@ int CalcExits( SfcMazeRoom_t *start, int
             exit_up_rooms[level].quad = -1;
         }
     }
+    return 0;
 }
 
 
openSUSE Build Service is sponsored by