Author: cazfi
Date: Wed Oct 14 18:27:24 2015
New Revision: 30082

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

See patch #6406

Modified:
    branches/S2_6/server/ruleset.c

Modified: branches/S2_6/server/ruleset.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/ruleset.c?rev=30082&r1=30081&r2=30082&view=diff
==============================================================================
--- branches/S2_6/server/ruleset.c      (original)
+++ branches/S2_6/server/ruleset.c      Wed Oct 14 18:27:24 2015
@@ -4639,6 +4639,9 @@
   if (check_ruleset_capabilities(file, RULESET_CAPABILITIES, filename) == 
NULL) {
     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