Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2002:
[Freeciv-Dev] gui-gtk warning (PR#2105)
Home

[Freeciv-Dev] gui-gtk warning (PR#2105)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] gui-gtk warning (PR#2105)
From: jdorje@xxxxxxxxxxxxxxxxxxxxx
Date: Sat, 28 Sep 2002 02:01:22 -0700 (PDT)

When I compile gui-gtk without NDEBUG (either DEBUG or nothing), I get a single compiler warning.

jason
Index: client/gui-gtk/dialogs.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk/dialogs.c,v
retrieving revision 1.106
diff -u -r1.106 dialogs.c
--- client/gui-gtk/dialogs.c    2002/09/28 03:33:09     1.106
+++ client/gui-gtk/dialogs.c    2002/09/28 08:54:00
@@ -1789,8 +1789,6 @@
 void popdown_races_dialog(void)
 {
   if (races_dialog_shell) {
-    int i;
-
     gtk_widget_set_sensitive(top_vbox, TRUE);
 
     /* while dialog is being destroyed, it will toggle the race_toggle 

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] gui-gtk warning (PR#2105), jdorje <=