Author: sveinung Date: Mon Jan 5 13:36:11 2015 New Revision: 27534 URL: http://svn.gna.org/viewcvs/freeciv?rev=27534&view=rev Log: Qt client: Remove unused variable in targeted steal tech selection dialog
See patch #5653 Modified: branches/S2_5/client/gui-qt/dialogs.cpp Modified: branches/S2_5/client/gui-qt/dialogs.cpp URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/gui-qt/dialogs.cpp?rev=27534&r1=27533&r2=27534&view=diff ============================================================================== --- branches/S2_5/client/gui-qt/dialogs.cpp (original) +++ branches/S2_5/client/gui-qt/dialogs.cpp Mon Jan 5 13:36:11 2015 @@ -1383,7 +1383,6 @@ struct city *pvcity = game_city_by_number(diplomat_target_id); struct player *pvictim = NULL; choice_dialog *cd; - int nr = 0; if (pvcity) { pvictim = city_owner(pvcity); @@ -1405,7 +1404,6 @@ func = spy_steal_something; str = advance_name_for_player(client.conn.playing, 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