changeset 27474:319b09e2590f

Avoid a potentially uninitialized variable
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 11 Jul 2009 15:36:57 +0000
parents 1d30e9d6de9b
children 72442d45b014
files pidgin/plugins/disco/gtkdisco.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/plugins/disco/gtkdisco.c	Sat Jul 11 08:11:14 2009 +0000
+++ b/pidgin/plugins/disco/gtkdisco.c	Sat Jul 11 15:36:57 2009 +0000
@@ -112,7 +112,7 @@
 pidgin_disco_load_icon(XmppDiscoService *service, const char *size)
 {
 	GdkPixbuf *pixbuf = NULL;
-	char *filename;
+	char *filename = NULL;
 
 	g_return_val_if_fail(service != NULL, NULL);
 	g_return_val_if_fail(size != NULL, NULL);