[geany/geany] 01b310: Remove unread variable

Nick Treleaven git-noreply at xxxxx
Fri Aug 1 10:54:05 UTC 2014


Branch:      refs/heads/master
Author:      Nick Treleaven <nick.treleaven at btinternet.com>
Committer:   Nick Treleaven <nick.treleaven at btinternet.com>
Date:        Fri, 01 Aug 2014 10:54:05 UTC
Commit:      01b3103eafd787b9a94d14026c3872691d6e1f90
             https://github.com/geany/geany/commit/01b3103eafd787b9a94d14026c3872691d6e1f90

Log Message:
-----------
Remove unread variable


Modified Paths:
--------------
    src/document.c

Modified: src/document.c
4 lines changed, 1 insertions(+), 3 deletions(-)
===================================================================
@@ -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;
 }



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list