[tracker/sparql-update: 8/22] 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/22] libtracker-data: We can return right after setting error
- Date: Tue, 15 Mar 2011 13:25:21 +0000 (UTC)
commit 0a1b863d300cd83a8972e9c8a071133a5f778ecf
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 735d859..272ab0e 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -2642,6 +2642,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;
}
}
@@ -2753,6 +2754,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]