From ab1591885a44b675a1301d88b041e261a36f7c36 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 26 Feb 2021 15:58:18 +0100 Subject: Remove unused variables --- src/gui_index.c | 1 - src/gui_peaksearch.c | 1 - 2 files changed, 2 deletions(-) (limited to 'src') diff --git a/src/gui_index.c b/src/gui_index.c index 4e4e2dff..d3217f54 100644 --- a/src/gui_index.c +++ b/src/gui_index.c @@ -563,7 +563,6 @@ static void run_indexing_once(struct crystfelproject *proj) static void index_one_response_sig(GtkWidget *dialog, gint resp, struct crystfelproject *proj) { - GtkWidget *w; if ( resp == GTK_RESPONSE_OK ) { gtk_combo_box_set_active(GTK_COMBO_BOX(proj->results_combo), diff --git a/src/gui_peaksearch.c b/src/gui_peaksearch.c index 37972e72..069619b5 100644 --- a/src/gui_peaksearch.c +++ b/src/gui_peaksearch.c @@ -444,7 +444,6 @@ gint peaksearch_sig(GtkWidget *widget, struct crystfelproject *proj) GtkWidget *hbox; GtkWidget *label; GtkWidget *combo; - GtkWidget *w; if ( proj->peak_params != NULL ) return FALSE; -- cgit v1.2.3