[tracker/sparql-update: 8/25] 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/25] libtracker-data: We can return right after setting error
- Date: Tue, 22 Mar 2011 15:46:27 +0000 (UTC)
commit bbca982731a7a4947232d85afab59bf9f300cb8e
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 a6e33f8..b6ad04f 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -2681,6 +2681,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;
}
}
@@ -2792,6 +2793,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]