Author: jtn
Date: Mon Apr 25 01:05:33 2016
New Revision: 32483

URL: http://svn.gna.org/viewcvs/freeciv?rev=32483&view=rev
Log:
Silence a maybe-uninitialized warning from GCC 4.8.4.

See gna patch #7126.

Modified:
    branches/S2_6/common/map.c

Modified: branches/S2_6/common/map.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/common/map.c?rev=32483&r1=32482&r2=32483&view=diff
==============================================================================
--- branches/S2_6/common/map.c  (original)
+++ branches/S2_6/common/map.c  Mon Apr 25 01:05:33 2016
@@ -768,7 +768,7 @@
   const struct unit_class *pclass = utype_class(punittype);
   int cost;
   bool cardinality_checked = FALSE;
-  bool cardinal_move;
+  bool cardinal_move BAD_HEURISTIC_INIT(FALSE);
   bool ri;
 
   /* Try to exit early for detectable conditions */


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to