Author: cazfi
Date: Thu Feb 11 19:49:14 2016
New Revision: 31878

URL: http://svn.gna.org/viewcvs/freeciv?rev=31878&view=rev
Log:
Fixed unused entry warnings seen in supplied tilesets in S2_5.

See bug #24219

Modified:
    trunk/client/tilespec.c
    trunk/data/hex2t.tilespec
    trunk/data/isophex.tilespec
    trunk/data/trident/fog.spec

Modified: trunk/client/tilespec.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/tilespec.c?rev=31878&r1=31877&r2=31878&view=diff
==============================================================================
--- trunk/client/tilespec.c     (original)
+++ trunk/client/tilespec.c     Thu Feb 11 19:49:14 2016
@@ -1463,8 +1463,11 @@
     tileset_error(LOG_FATAL, _("Specfile %s has incompatible capabilities"), 
sf->file_name);
   }
 
-  /* currently unused */
+  /* Currently unused */
   (void) secfile_entry_lookup(file, "info.artists");
+
+  /* Not used here */
+  (void) secfile_entry_lookup(file, "file.gfx");
 
   if ((sections = secfile_sections_by_name_prefix(file, "grid_"))) {
     section_list_iterate(sections, psection) {

Modified: trunk/data/hex2t.tilespec
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/hex2t.tilespec?rev=31878&r1=31877&r2=31878&view=diff
==============================================================================
--- trunk/data/hex2t.tilespec   (original)
+++ trunk/data/hex2t.tilespec   Thu Feb 11 19:49:14 2016
@@ -76,12 +76,6 @@
 ; space for the overall icon produced. Defaults to unit_upkeep_offset_y -
 ; not having alternative layout.
 ;unit_upkeep_small_offset_y = 0
-
-; Font to use to draw city names:
-city_names_font = "6x13bold"
-
-; Font to use to draw city productions:
-city_productions_font = "6x13"
 
 ; Font size (points) to use to draw city names and productions:
 city_names_font_size = 10

Modified: trunk/data/isophex.tilespec
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/isophex.tilespec?rev=31878&r1=31877&r2=31878&view=diff
==============================================================================
--- trunk/data/isophex.tilespec (original)
+++ trunk/data/isophex.tilespec Thu Feb 11 19:49:14 2016
@@ -76,12 +76,6 @@
 ; space for the overall icon produced. Defaults to unit_upkeep_offset_y -
 ; not having alternative layout.
 ;unit_upkeep_small_offset_y = 0
-
-; Font to use to draw city names:
-city_names_font = "9x15bold"
-
-; Font to use to draw city productions:
-city_productions_font = "6x13"
 
 ; Font size (points) to use to draw city names and productions:
 city_names_font_size = 10

Modified: trunk/data/trident/fog.spec
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/trident/fog.spec?rev=31878&r1=31877&r2=31878&view=diff
==============================================================================
--- trunk/data/trident/fog.spec (original)
+++ trunk/data/trident/fog.spec Thu Feb 11 19:49:14 2016
@@ -1,7 +1,9 @@
 [spec]
 
+; Format and options of this spec file:
 options = "+Freeciv-spec-Devel-2015-Mar-25"
 
+[info]
 artists = "unknown"
 
 [file]


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

Reply via email to