[Freeciv-Dev] [bug #16703] Uninitialized variable warning in savegame2

2010-09-17 Thread pepeto

Update of bug #16703 (project freeciv):

  Status:  Ready For Test = Fixed  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/bugs/?16703

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16703] Uninitialized variable warning in savegame2

2010-09-15 Thread m

URL:
  http://gna.org/bugs/?16703

 Summary: Uninitialized variable warning in savegame2
 Project: Freeciv
Submitted by: akfaew
Submitted on: Wednesday 09/15/2010 at 12:13
Category: general
Severity: 4 - Important
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: None
 Planned Release: 

___

Details:

in file server/savegame2.c:3174:

+/* i is probably not what it should be below. also, it produces a gcc
warning */
 plr-ai_common.love[i] = secfile_lookup_int_default(loading-file, 1,
   %s.love, buf);





___

Reply to this item at:

  http://gna.org/bugs/?16703

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16703] Uninitialized variable warning in savegame2

2010-09-15 Thread pepeto

Update of bug #16703 (project freeciv):

  Status:None = Confirmed  
 Planned Release: = 2.3.0  

___

Follow-up Comment #1:

I don't get a warning, but 'i = player_index();' is missing in this loop.


___

Reply to this item at:

  http://gna.org/bugs/?16703

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16703] Uninitialized variable warning in savegame2

2010-09-15 Thread pepeto

Update of bug #16703 (project freeciv):

 Assigned to:None = pepeto 


___

Reply to this item at:

  http://gna.org/bugs/?16703

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev