Author: sveinung
Date: Mon Jan  5 13:22:17 2015
New Revision: 27533

URL: http://svn.gna.org/viewcvs/freeciv?rev=27533&view=rev
Log:
Qt client: Remove unused variable in targeted steal tech selection dialog

See patch #5653

Modified:
    branches/S2_6/client/gui-qt/dialogs.cpp

Modified: branches/S2_6/client/gui-qt/dialogs.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-qt/dialogs.cpp?rev=27533&r1=27532&r2=27533&view=diff
==============================================================================
--- branches/S2_6/client/gui-qt/dialogs.cpp     (original)
+++ branches/S2_6/client/gui-qt/dialogs.cpp     Mon Jan  5 13:22:17 2015
@@ -1465,7 +1465,6 @@
   struct city *pvcity = game_city_by_number(diplomat_target_id);
   struct player *pvictim = NULL;
   choice_dialog *cd;
-  int nr = 0;
   QList<QVariant> actor_and_target;
 
   /* Wait for the player's reply before moving on to the next queued diplomat. 
*/
@@ -1501,7 +1500,6 @@
         func = spy_steal_something;
         str = research_advance_name_translation(presearch, i);
         cd->add_item(str, func, qv1, i);
-        nr++;
       }
     } advance_index_iterate_end;
     astr_set(&stra, _("At %s's Discretion"),


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

Reply via email to