diff libgaim/util.c @ 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 118fd0dc5b6e
children e1446f88650c
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;