[tracker/tracker-0.6] Set GError to NULL before passing it to functions.



commit b562fa500207e3b74f70e5039917d82e41b823c5
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Apr 16 17:46:48 2009 +0200

    Set GError to NULL before passing it to functions.
---
 .../tracker-module-metadata-utils.c                |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/tracker-indexer/tracker-module-metadata-utils.c b/src/tracker-indexer/tracker-module-metadata-utils.c
index afaf2e2..964d594 100644
--- a/src/tracker-indexer/tracker-module-metadata-utils.c
+++ b/src/tracker-indexer/tracker-module-metadata-utils.c
@@ -81,7 +81,7 @@ static DBusGProxy * get_dbus_extract_proxy (void);
 static GPid
 get_extractor_pid (void)
 {
-	GError *error;
+	GError *error = NULL;
 	GPid pid;
 
 	/* Get new PID from extractor */



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