From 34093170146c861cf5bb523857ca875996d3c165 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 30 Jan 2009 17:07:51 +0000 Subject: Initialize GError to NULL before using it. svn path=/trunk/; revision=2290 --- libempathy-gtk/empathy-ui-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libempathy-gtk/empathy-ui-utils.c') diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c index 1c20c2c9a..23f7f1311 100644 --- a/libempathy-gtk/empathy-ui-utils.c +++ b/libempathy-gtk/empathy-ui-utils.c @@ -549,7 +549,7 @@ empathy_pixbuf_from_icon_name_sized (const gchar *icon_name, { GtkIconTheme *theme; GdkPixbuf *pixbuf; - GError *error; + GError *error = NULL; if (!icon_name) { return NULL; -- cgit v1.2.3