gnucash maint: Fix another may be used uninitialized warning
Frank H.Ellenberger
fell at code.gnucash.org
Fri Dec 7 05:55:53 EST 2018
Updated via https://github.com/Gnucash/gnucash/commit/353a3812 (commit)
from https://github.com/Gnucash/gnucash/commit/ff5e7657 (commit)
commit 353a3812aa93f29a8ca4901ed37bcb110673d289
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date: Fri Dec 7 11:55:30 2018 +0100
Fix another may be used uninitialized warning
diff --git a/gnucash/gnome-utils/gnc-file.c b/gnucash/gnome-utils/gnc-file.c
index 0a0f774..2eefc34 100644
--- a/gnucash/gnome-utils/gnc-file.c
+++ b/gnucash/gnome-utils/gnc-file.c
@@ -86,7 +86,7 @@ gnc_file_dialog (GtkWindow *parent,
GtkWidget *file_box;
const char *internal_name;
char *file_name = NULL;
- gchar * okbutton;
+ gchar * okbutton = NULL;
const gchar *ok_icon = NULL;
GtkFileChooserAction action = GTK_FILE_CHOOSER_ACTION_OPEN;
gint response;
Summary of changes:
gnucash/gnome-utils/gnc-file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-changes
mailing list