[geany/geany] d79268: Fix a theoretically possible use of an uninitialized value

Colomban Wendling git-noreply at xxxxx
Thu Jul 26 00:02:32 UTC 2012


Branch:      refs/heads/document-messages
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Mon, 26 Dec 2011 15:06:02
Commit:      d79268b346a448a30c8f8db18d49de4dc41b3321
             https://github.com/geany/geany/commit/d79268b346a448a30c8f8db18d49de4dc41b3321

Log Message:
-----------
Fix a theoretically possible use of an uninitialized value


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

Modified: src/notebook.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -212,7 +212,7 @@ static GtkWidget *create_switch_dialog(void)
 static void update_filename_label(void)
 {
 	guint i;
-	gchar *msg;
+	gchar *msg = NULL;
 	guint queue_length;
 	GeanyDocument *doc;
 


@@ Diff output truncated at 100000 characters. @@


--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).



More information about the Commits mailing list