[geany/geany] 87c6ce: Remove dead assignment

Colomban Wendling git-noreply at xxxxx
Tue Aug 12 14:17:39 UTC 2014


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Tue, 12 Aug 2014 14:17:39 UTC
Commit:      87c6cefc1940a8d8e4e02f842bdbfc4bf05e3e37
             https://github.com/geany/geany/commit/87c6cefc1940a8d8e4e02f842bdbfc4bf05e3e37

Log Message:
-----------
Remove dead assignment

`entries_modified` global is only used by on_name_entry_changed() and
on_entries_changed(), both of which are only ever called from
project_new() scope -- which already initializes this variable.


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

Modified: src/project.c
2 lines changed, 0 insertions(+), 2 deletions(-)
===================================================================
@@ -509,8 +509,6 @@ static void show_project_properties(gboolean show_build)
 
 	g_return_if_fail(app->project != NULL);
 
-	entries_modified = FALSE;
-
 	if (e.dialog == NULL)
 		create_properties_dialog(&e);
 



--------------
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