tRemove unused variable - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 511b2cce93653a0915dcc624fb81908d3e4657b8
(DIR) parent 4c555ca0b733003f4715ff6e2fe246cc7b3d9945
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Sat, 7 Nov 2020 17:17:58 -0800
Remove unused variable
Diffstat:
M src/gui_client/gtk_client.c | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
---
(DIR) diff --git a/src/gui_client/gtk_client.c b/src/gui_client/gtk_client.c
t@@ -1779,17 +1779,10 @@ void DealGuns(GtkWidget *widget, gpointer data)
GtkWidget *clist, *dialog;
GList *selection;
gint row, GunInd;
- gchar *Action, *Title;
+ gchar *Title;
GString *text;
dialog = gtk_widget_get_ancestor(widget, GTK_TYPE_WINDOW);
- if (data == BT_BUY) {
- Action = _("Buy");
- } else if (data == BT_SELL) {
- Action = _("Sell");
- } else {
- Action = _("Drop");
- }
if (data == BT_BUY) {
clist = ClientData.Gun.HereList;