ALT Linux repositórios
Group :: Jogos/Arcade
RPM: heroes-sdl
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: heroes-0.21-gcc_warning.diff
Download
Download
--- lib/xstrduplwr.c
+++ lib/xstrduplwr.c
@@ -23,6 +23,7 @@
# include <config.h>
#endif
+#include <string.h>
#include <sys/types.h>
#include <ctype.h>
--- src/heroeslvl.c
+++ src/heroeslvl.c
@@ -435,6 +435,7 @@
return _("pingpong");
}
assert (0);
+ return(0); /* added for to avoid gcc warning control reaches end of non-void function*/
}
static void