changeset 14878:14b132352449

[gaim-migrate @ 17647] sf patch #1588425, from Ka-Hing Cheung According to glib-doc, "a GError* must be initialized to NULL before passing its address to a function that can report errors." committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 01 Nov 2006 07:29:53 +0000
parents c01f62c83647
children 1fa8599e952b
files libgaim/util.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libgaim/util.c	Wed Nov 01 05:53:09 2006 +0000
+++ b/libgaim/util.c	Wed Nov 01 07:29:53 2006 +0000
@@ -2376,7 +2376,7 @@
 {
 	const char *user_dir = gaim_user_dir();
 	gchar *filename_full;
-	GError *error;
+	GError *error = NULL;
 	gchar *contents = NULL;
 	gsize length;
 	xmlnode *node = NULL;