tRemove unused variable - vaccinewars - be a doctor and try to vaccinate the world
git clone git://src.adamsgaard.dk/vaccinewars
Log
Files
Refs
README
LICENSE
---
commit 511b2cce93653a0915dcc624fb81908d3e4657b8
parent 4c555ca0b733003f4715ff6e2fe246cc7b3d9945
Author: Ben Webb 
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(-)
---
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;