[tracker] Compilation warning fixes
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: svn-commits-list gnome org
- Subject: [tracker] Compilation warning fixes
- Date: Fri, 17 Jul 2009 13:17:01 +0000 (UTC)
commit 9cf29330171ebd43000b61e3a5414b790e266575
Author: Philip Van Hoof <philip codeminded be>
Date: Fri Jul 17 15:16:44 2009 +0200
Compilation warning fixes
src/libtracker-data/tracker-turtle.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/libtracker-data/tracker-turtle.c b/src/libtracker-data/tracker-turtle.c
index 96f4d8c..256b654 100644
--- a/src/libtracker-data/tracker-turtle.c
+++ b/src/libtracker-data/tracker-turtle.c
@@ -44,7 +44,7 @@ static gchar * volatile turtle_subject;
static gchar * volatile turtle_predicate;
static char * volatile turtle_object;
static raptor_identifier_type volatile turtle_object_type;
-static GError * volatile raptor_error = NULL;
+static GError * raptor_error = NULL;
static volatile gboolean turtle_eof;
static volatile gboolean turtle_cancel;
@@ -344,9 +344,9 @@ turtle_statement_handler (void *user_data,
const gchar *object_as_s = (const gchar *) raptor_uri_as_string ((raptor_uri *) triple->object);
/* set new statement */
- if (subjec_as_s && !g_utf8_validate (subjec_as_s, -1, NULL) ||
- predic_as_s && !g_utf8_validate (predic_as_s, -1, NULL) ||
- object_as_s && !g_utf8_validate (object_as_s, -1, NULL)) {
+ if ((subjec_as_s && !g_utf8_validate (subjec_as_s, -1, NULL)) ||
+ (predic_as_s && !g_utf8_validate (predic_as_s, -1, NULL)) ||
+ (object_as_s && !g_utf8_validate (object_as_s, -1, NULL))) {
g_set_error (&raptor_error, TRACKER_DATA_ERROR,
TRACKER_DATA_ERROR_UNKNOWN_PROPERTY,
@@ -604,7 +604,7 @@ tracker_turtle_reader_next (void)
* to make get_error work after parse is finished.
* g_clear_error (&raptor_error);
* */
-
+
g_mutex_free (turtle_mutex);
g_cond_free (turtle_cond);
turtle_mutex = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]