Mercurial > pidgin.yaz
comparison pidgin/plugins/disco/gtkdisco.c @ 27550:319b09e2590f
Avoid a potentially uninitialized variable
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 11 Jul 2009 15:36:57 +0000 |
parents | afcb1d41e557 |
children | 8d408dff1bff |
comparison
equal
deleted
inserted
replaced
27549:1d30e9d6de9b | 27550:319b09e2590f |
---|---|
110 | 110 |
111 static GdkPixbuf * | 111 static GdkPixbuf * |
112 pidgin_disco_load_icon(XmppDiscoService *service, const char *size) | 112 pidgin_disco_load_icon(XmppDiscoService *service, const char *size) |
113 { | 113 { |
114 GdkPixbuf *pixbuf = NULL; | 114 GdkPixbuf *pixbuf = NULL; |
115 char *filename; | 115 char *filename = NULL; |
116 | 116 |
117 g_return_val_if_fail(service != NULL, NULL); | 117 g_return_val_if_fail(service != NULL, NULL); |
118 g_return_val_if_fail(size != NULL, NULL); | 118 g_return_val_if_fail(size != NULL, NULL); |
119 | 119 |
120 if (service->type == XMPP_DISCO_SERVICE_TYPE_GATEWAY && service->gateway_type) { | 120 if (service->type == XMPP_DISCO_SERVICE_TYPE_GATEWAY && service->gateway_type) { |