[geany/geany-plugins] f255b8: geanyvc: silence check errors

LarsGit223 git-noreply at xxxxx
Tue May 14 16:55:04 UTC 2019


Branch:      refs/heads/master
Author:      LarsGit223 <lars_paulsen at web.de>
Committer:   LarsGit223 <lars_paulsen at web.de>
Date:        Tue, 14 May 2019 16:55:04 UTC
Commit:      f255b8a53f48e91f659c5490770a9f5356f9c951
             https://github.com/geany/geany-plugins/commit/f255b8a53f48e91f659c5490770a9f5356f9c951

Log Message:
-----------
geanyvc: silence check errors

Initialize two pointers (although not required) to silence two erros
reported on 'make check' (Uninitialized variable).


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

Modified: geanyvc/src/geanyvc.c
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -1359,7 +1359,7 @@ create_commit_message_history_combobox(void)
 	GtkCellRenderer *renderer;
 	GtkTreeIter iter;
 	GtkListStore *store;
-	GSList *list_item;
+	GSList *list_item = NULL;
 	GString *display_message_string;
 	gchar *display_message;
 
@@ -2147,7 +2147,7 @@ load_config(void)
 	GError *error = NULL;
 #endif
 
-	gchar **commit_message_history_keys, **ptr;
+	gchar **commit_message_history_keys, **ptr = NULL;
 	gchar *commit_message;
 	GKeyFile *config = g_key_file_new();
 



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


More information about the Plugins-Commits mailing list