pidgin: ac0b789b: Avoid a potentially uninitialized variab...

nosnilmot at pidgin.im nosnilmot at pidgin.im
Sat Jul 11 11:45:36 EDT 2009


-----------------------------------------------------------------
Revision: ac0b789b612cd2f7a67f5e6dd91686095852ef4a
Ancestor: efa5b9f380cd930b5cd0dd90be3e938795a6effc
Author: nosnilmot at pidgin.im
Date: 2009-07-11T15:36:57
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/ac0b789b612cd2f7a67f5e6dd91686095852ef4a

Modified files:
        pidgin/plugins/disco/gtkdisco.c

ChangeLog: 

Avoid a potentially uninitialized variable

-------------- next part --------------
============================================================
--- pidgin/plugins/disco/gtkdisco.c	1477e4d0c2fcaa0eaa38c7e6024c267d564d83dd
+++ pidgin/plugins/disco/gtkdisco.c	12b19c1d4f304ecbe7e8c25a8e89ea865a131874
@@ -112,7 +112,7 @@ pidgin_disco_load_icon(XmppDiscoService 
 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);


More information about the Commits mailing list