From 01b3103eafd787b9a94d14026c3872691d6e1f90 Mon Sep 17 00:00:00 2001 From: Nick Treleaven Date: Fri, 1 Aug 2014 11:54:05 +0100 Subject: [PATCH] Remove unread variable --- src/document.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/document.c b/src/document.c index 18f28f3d..54913f9d 100644 --- a/src/document.c +++ b/src/document.c @@ -3250,12 +3250,10 @@ static void on_monitor_resave_missing_file_response(GtkWidget *bar, gint response_id, GeanyDocument *doc) { - gboolean file_saved = FALSE; - unprotect_document(doc); if (response_id == GTK_RESPONSE_ACCEPT) - file_saved = dialogs_show_save_as(); + dialogs_show_save_as(); doc->priv->info_bars[MSG_TYPE_RESAVE] = NULL; }