gnome-games r8611 - trunk/gnometris



Author: thomashpa
Date: Sat Jan 24 00:59:39 2009
New Revision: 8611
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8611&view=rev

Log:
Initialize error variable to NULL. Fixes issue with dnd images in bug #550004

Modified:
   trunk/gnometris/tetris.cpp

Modified: trunk/gnometris/tetris.cpp
==============================================================================
--- trunk/gnometris/tetris.cpp	(original)
+++ trunk/gnometris/tetris.cpp	Sat Jan 24 00:59:39 2009
@@ -1076,7 +1076,7 @@
 {
 	const char *fileuri;
 
-	GError *error;
+	GError *error = NULL;
 	GFile *file;
 	GFile *outfile;
 	GFileInfo *fileinfo;



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