[NeoStats-Devel] [Commits] r20 - trunk

[email protected]
Newsgroups gmane.comp.neostats.devel
Message-ID <[email protected]>
Author: Fish
Date: Fri Jul  1 17:46:36 2005
New Revision: 20

Modified:
   trunk/channel.c
   trunk/configure
   trunk/configure.in
Log:
fix compiler warnings

Modified: trunk/channel.c
==============================================================================
--- trunk/channel.c	(original)
+++ trunk/channel.c	Fri Jul  1 17:46:36 2005
@@ -91,7 +91,6 @@
 {
 	GameData *gd;
 	int i;
-	int i2;
 	
 	gd = ns_calloc(sizeof(GameData));
 	gd->gamestatus = YS_GAME_STOPPED;

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Fri Jul  1 17:46:36 2005
@@ -1279,7 +1279,7 @@
 
 DIRINST=~/NeoStats3.0/
 
-CFLAGS="$CFLAGS -O2"
+CFLAGS="$CFLAGS -O2 -fno-strict-aliasing"
 
 case "$host_os" in
 *openbsd*)

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Fri Jul  1 17:46:36 2005
@@ -13,7 +13,7 @@
 AC_DEFINE_UNQUOTED(MODULE_REV, "$MODULE_REV")
 DIRINST=~/NeoStats3.0/
 AC_PREFIX_DEFAULT(~/NeoStats3.0/)
-CFLAGS="$CFLAGS -O2"
+CFLAGS="$CFLAGS -O2 -fno-strict-aliasing"
 
 case "$host_os" in
 *openbsd*)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.