[tracker] Set GError to NULL before passing it to functions.
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [tracker] Set GError to NULL before passing it to functions.
- Date: Fri, 24 Apr 2009 07:22:21 -0400 (EDT)
commit ca33bd5c956c95d98840c72e8fa11f69cee9321c
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 cdfd6f4..e4f3057 100644
--- a/src/tracker-indexer/tracker-module-metadata-utils.c
+++ b/src/tracker-indexer/tracker-module-metadata-utils.c
@@ -89,7 +89,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]