aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui_index.c1
-rw-r--r--src/gui_peaksearch.c1
2 files changed, 0 insertions, 2 deletions
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;