empathy r2290 - trunk/libempathy-gtk



Author: xclaesse
Date: Fri Jan 30 17:07:51 2009
New Revision: 2290
URL: http://svn.gnome.org/viewvc/empathy?rev=2290&view=rev

Log:
Initialize GError to NULL before using it.

Modified:
   trunk/libempathy-gtk/empathy-ui-utils.c

Modified: trunk/libempathy-gtk/empathy-ui-utils.c
==============================================================================
--- trunk/libempathy-gtk/empathy-ui-utils.c	(original)
+++ trunk/libempathy-gtk/empathy-ui-utils.c	Fri Jan 30 17:07:51 2009
@@ -549,7 +549,7 @@
 {
 	GtkIconTheme *theme;
 	GdkPixbuf *pixbuf;
-	GError *error;
+	GError *error = NULL;
 
 	if (!icon_name) {
 		return NULL;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]