Follow-up Comment #2, bug #13621 (project freeciv): updated version of the patch
changes: - change 'do {...} while (...)' to 'for(...) {...}' - update is _not_ needed as this function is called pre-game so the ruleset information are send to the client(s) after the function call - the '{} /* no error */' stuff is needed! If I remove this lines I get the following error: ruleset.c:3214: error: a label can only be part of a statement and a declaration is not a statement - variable definitions moved - include file move into ruleset.c Thanks for the comments! (file #5890) _______________________________________________________ Additional Item Attachment: File name: version2-13621-set.patch.diff Size:8 KB _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?13621> _______________________________________________ Nachricht geschickt von/durch Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev