Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2003:
[Freeciv-Dev] (PR#3410) Uninit value in gui-sdl
Home

[Freeciv-Dev] (PR#3410) Uninit value in gui-sdl

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] (PR#3410) Uninit value in gui-sdl
From: "Raimar Falke" <rf13@xxxxxxxxxxxxxxxxx>
Date: Thu, 13 Feb 2003 03:09:50 -0800


I'm pretty sure that 0 isn't the correct value.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  One nuclear bomb can ruin your whole day.

Index: client/gui-sdl/dialogs.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-sdl/dialogs.c,v
retrieving revision 1.10
diff -u -u -r1.10 dialogs.c
--- client/gui-sdl/dialogs.c    2003/02/02 20:49:19     1.10
+++ client/gui-sdl/dialogs.c    2003/02/13 11:03:47
@@ -1780,7 +1780,7 @@
   SDL_Surface *pSurf;
   
   
-  int i, count, w, h;
+  int i, count, w = 0, h;
   
   popdown_diplomat_dialog();
   

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#3410) Uninit value in gui-sdl, Raimar Falke <=