Author: cazfi
Date: Wed Oct 14 18:27:17 2015
New Revision: 30081

URL: http://svn.gna.org/viewcvs/freeciv?rev=30081&view=rev
Log:
Mark cities.ruleset datafile.description unused when loading rulesets.

See patch #6406

Modified:
    trunk/server/ruleset.c

Modified: trunk/server/ruleset.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/ruleset.c?rev=30081&r1=30080&r2=30081&view=diff
==============================================================================
--- trunk/server/ruleset.c      (original)
+++ trunk/server/ruleset.c      Wed Oct 14 18:27:17 2015
@@ -4694,6 +4694,9 @@
   if (compat->ver_cities <= 0) {
     return FALSE;
   }
+
+  (void) secfile_entry_by_path(file, "datafile.description");   /* unused */
+  (void) secfile_entry_by_path(file, "datafile.ruledit");       /* unused */
 
   /* Specialist options */
   sec = secfile_sections_by_name_prefix(file, SPECIALIST_SECTION_PREFIX);


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

Reply via email to