[tracker] tracker-extract: Fix initialization of error variable to NULL



commit 45d524c4b6496fc5a8d1200da4d0b19e7a3aed4c
Author: Philip Van Hoof <philip codeminded be>
Date:   Thu Feb 10 13:52:54 2011 +0100

    tracker-extract: Fix initialization of error variable to NULL

 src/tracker-extract/tracker-extract-xmp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-xmp.c b/src/tracker-extract/tracker-extract-xmp.c
index 803e916..21ac36b 100644
--- a/src/tracker-extract/tracker-extract-xmp.c
+++ b/src/tracker-extract/tracker-extract-xmp.c
@@ -134,7 +134,7 @@ extract_xmp (const gchar          *uri,
              TrackerSparqlBuilder *metadata)
 {
 	TrackerXmpData *xd = NULL;
-	GError *error;
+	GError *error = NULL;
 	gchar *filename;
 	gchar *contents;
 	gsize length;



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