Author: cazfi
Date: Wed Sep 30 21:32:05 2015
New Revision: 30005

URL: http://svn.gna.org/viewcvs/freeciv?rev=30005&view=rev
Log:
Remove unused parameter from boot_help_texts()

See patch #6381

Modified:
    branches/S2_6/client/client_main.c
    branches/S2_6/client/helpdata.c
    branches/S2_6/client/helpdata.h
    branches/S2_6/client/packhand.c
    branches/S2_6/client/tilespec.c

Modified: branches/S2_6/client/client_main.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/client_main.c?rev=30005&r1=30004&r2=30005&view=diff
==============================================================================
--- branches/S2_6/client/client_main.c  (original)
+++ branches/S2_6/client/client_main.c  Wed Sep 30 21:32:05 2015
@@ -649,7 +649,7 @@
      have cosmetic effects only (eg city name suggestions).  --dwp */
   fc_srand(time(NULL));
   helpdata_init();
-  boot_help_texts(NULL);
+  boot_help_texts();
 
   tilespec_try_read(req_tileset_name, user_tileset);
 
@@ -887,7 +887,7 @@
       research_update(research_get(pplayer));
     }
     role_unit_precalcs();
-    boot_help_texts(pplayer);   /* reboot with player */
+    boot_help_texts();   /* reboot with player */
     global_worklists_build();
     can_slide = FALSE;
     unit_focus_update();
@@ -934,7 +934,7 @@
         research_update(research_get(pplayer));
       }
       role_unit_precalcs();
-      boot_help_texts(pplayer);            /* reboot */
+      boot_help_texts();            /* reboot */
       global_worklists_build();
       unit_focus_set(NULL);
       set_client_page(PAGE_GAME);

Modified: branches/S2_6/client/helpdata.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/helpdata.c?rev=30005&r1=30004&r2=30005&view=diff
==============================================================================
--- branches/S2_6/client/helpdata.c     (original)
+++ branches/S2_6/client/helpdata.c     Wed Sep 30 21:32:05 2015
@@ -2796,7 +2796,7 @@
 /****************************************************************
   pplayer may be NULL.
 *****************************************************************/
-void boot_help_texts(struct player *pplayer)
+void boot_help_texts(void)
 {
   static bool booted = FALSE;
 

Modified: branches/S2_6/client/helpdata.h
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/helpdata.h?rev=30005&r1=30004&r2=30005&view=diff
==============================================================================
--- branches/S2_6/client/helpdata.h     (original)
+++ branches/S2_6/client/helpdata.h     Wed Sep 30 21:32:05 2015
@@ -31,7 +31,7 @@
 void helpdata_init(void);
 void helpdata_done(void);
 
-void boot_help_texts(struct player *pplayer);
+void boot_help_texts(void);
 void free_help_texts(void);
 
 int num_help_items(void);

Modified: branches/S2_6/client/packhand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/packhand.c?rev=30005&r1=30004&r2=30005&view=diff
==============================================================================
--- branches/S2_6/client/packhand.c     (original)
+++ branches/S2_6/client/packhand.c     Wed Sep 30 21:32:05 2015
@@ -1943,7 +1943,7 @@
   boot_help = (can_client_change_view()
               && game.info.victory_conditions != pinfo->victory_conditions);
   if (boot_help) {
-    boot_help_texts(client.conn.playing); /* reboot, after setting 
game.spacerace */
+    boot_help_texts(); /* reboot, after setting game.spacerace */
   }
   unit_focus_update();
   menus_update();

Modified: branches/S2_6/client/tilespec.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/tilespec.c?rev=30005&r1=30004&r2=30005&view=diff
==============================================================================
--- branches/S2_6/client/tilespec.c     (original)
+++ branches/S2_6/client/tilespec.c     Wed Sep 30 21:32:05 2015
@@ -1162,7 +1162,7 @@
       tileset_player_init(tileset, pplayer);
     } players_iterate_end;
     tileset_background_init(tileset);
-    boot_help_texts(client.conn.playing); /* "About Current Tileset" */
+    boot_help_texts(); /* "About Current Tileset" */
   }
 
   /* Step 3: Setup


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

Reply via email to