Author: sveinung
Date: Wed Dec 17 13:07:10 2014
New Revision: 27323

URL: http://svn.gna.org/viewcvs/freeciv?rev=27323&view=rev
Log:
Clean up: Remove the unused variable caravan_arrival_queue.

It should have been removed as a part of patch #5482.

See patch #5570

Modified:
    trunk/client/control.c

Modified: trunk/client/control.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/control.c?rev=27323&r1=27322&r2=27323&view=diff
==============================================================================
--- trunk/client/control.c      (original)
+++ trunk/client/control.c      Wed Dec 17 13:07:10 2014
@@ -91,8 +91,7 @@
 static struct unit *punit_attacking = NULL;
 static struct unit *punit_defending = NULL;
 
-/* unit arrival lists */
-static struct genlist *caravan_arrival_queue = NULL;
+/* unit arrival list */
 static struct genlist *diplomat_arrival_queue = NULL;
 
 static bool have_asked_server_for_actions = FALSE;
@@ -117,7 +116,6 @@
 {
   int i;
 
-  caravan_arrival_queue = genlist_new();
   diplomat_arrival_queue = genlist_new_full(free);
 
   current_focus = unit_list_new();
@@ -136,9 +134,6 @@
 void control_free(void)
 {
   int i;
-
-  genlist_destroy(caravan_arrival_queue);
-  caravan_arrival_queue = NULL;
 
   genlist_destroy(diplomat_arrival_queue);
   diplomat_arrival_queue = NULL;


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

Reply via email to