[tracker/sparql-update: 8/23] libtracker-data: We can return right after setting error
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/sparql-update: 8/23] libtracker-data: We can return right after setting error
- Date: Thu, 17 Mar 2011 15:03:54 +0000 (UTC)
commit 17bc117750e4cf8f2a1f2d261104d3e9ee500efd
Author: Philip Van Hoof <philip codeminded be>
Date: Thu Mar 10 17:59:32 2011 +0100
libtracker-data: We can return right after setting error
src/libtracker-data/tracker-data-update.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-update.c b/src/libtracker-data/tracker-data-update.c
index 03a2a55..6012a5e 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -2646,6 +2646,7 @@ tracker_data_update_statement_with_uri (const gchar *graph,
resource_buffer->subject,
tracker_class_get_name (tracker_property_get_domain (property)),
tracker_property_get_name (property));
+ return;
}
}
@@ -2757,6 +2758,7 @@ tracker_data_update_statement_with_string (const gchar *graph,
resource_buffer->subject,
tracker_class_get_name (tracker_property_get_domain (property)),
tracker_property_get_name (property));
+ return;
}
/* add or update value to metadata database */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]