[Gnucash-changes] r11904 - gnucash/trunk - Fix a couple of gcc4
warnings.
David Hampton
hampton at cvs.gnucash.org
Fri Nov 11 01:01:27 EST 2005
Author: hampton
Date: 2005-11-11 01:01:27 -0500 (Fri, 11 Nov 2005)
New Revision: 11904
Modified:
gnucash/trunk/ChangeLog
gnucash/trunk/lib/glib26/gkeyfile.c
gnucash/trunk/lib/glib26/gutils26.c
Log:
Fix a couple of gcc4 warnings.
Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog 2005-11-11 03:06:58 UTC (rev 11903)
+++ gnucash/trunk/ChangeLog 2005-11-11 06:01:27 UTC (rev 11904)
@@ -1,3 +1,8 @@
+2005-11-11 David Hampton <hampton at employees.org>
+
+ * lib/glib26/gkeyfile.c:
+ * lib/glib26/gutils26.c: Fix a couple of gcc4 warnings.
+
2005-11-10 David Hampton <hampton at employees.org>
* src/core-utils/gnc-gkeyfile-utils.[ch]:
Modified: gnucash/trunk/lib/glib26/gkeyfile.c
===================================================================
--- gnucash/trunk/lib/glib26/gkeyfile.c 2005-11-11 03:06:58 UTC (rev 11903)
+++ gnucash/trunk/lib/glib26/gkeyfile.c 2005-11-11 06:01:27 UTC (rev 11904)
@@ -602,7 +602,7 @@
const gchar * user_data_dir;
const gchar * const * system_data_dirs;
gsize i, j;
- gchar *output_path;
+ gchar *output_path = NULL;
gint fd;
gboolean found_file;
Modified: gnucash/trunk/lib/glib26/gutils26.c
===================================================================
--- gnucash/trunk/lib/glib26/gutils26.c 2005-11-11 03:06:58 UTC (rev 11903)
+++ gnucash/trunk/lib/glib26/gutils26.c 2005-11-11 06:01:27 UTC (rev 11904)
@@ -751,10 +751,10 @@
{
GSList *retval = NULL;
- gchar *language;
- gchar *territory;
- gchar *codeset;
- gchar *modifier;
+ gchar *language = NULL;
+ gchar *territory = NULL;
+ gchar *codeset = NULL;
+ gchar *modifier = NULL;
guint mask;
guint i;
More information about the gnucash-changes
mailing list