[tracker/tracker-0.6] Set GError to NULL before passing it to functions.
- From: Carlos Garnacho <carlosg src gnome org>
- To: svn-commits-list gnome org
- Subject: [tracker/tracker-0.6] Set GError to NULL before passing it to functions.
- Date: Thu, 16 Apr 2009 11:47:39 -0400 (EDT)
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]