[tracker] libtracker-data: Remove unused field
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-data: Remove unused field
- Date: Sun, 20 Nov 2016 16:06:56 +0000 (UTC)
commit 0b97ace562e0dbb098f2659c480a4a9994c1584a
Author: Carlos Garnacho <carlosg gnome org>
Date: Sat Oct 22 01:14:56 2016 +0200
libtracker-data: Remove unused field
src/libtracker-data/tracker-db-interface-sqlite.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/libtracker-data/tracker-db-interface-sqlite.c
b/src/libtracker-data/tracker-db-interface-sqlite.c
index a685df1..4be0f57 100644
--- a/src/libtracker-data/tracker-db-interface-sqlite.c
+++ b/src/libtracker-data/tracker-db-interface-sqlite.c
@@ -80,8 +80,6 @@ struct TrackerDBInterface {
/* Compiled regular expressions */
TrackerDBReplaceFuncChecks replace_func_checks;
- GSList *function_data;
-
/* Number of active cursors */
gint n_active_cursors;
@@ -1597,12 +1595,6 @@ close_database (TrackerDBInterface *db_interface)
if (db_interface->replace_func_checks.unescape)
g_regex_unref (db_interface->replace_func_checks.unescape);
- if (db_interface->function_data) {
- g_slist_foreach (db_interface->function_data, (GFunc) g_free, NULL);
- g_slist_free (db_interface->function_data);
- db_interface->function_data = NULL;
- }
-
if (db_interface->db) {
rc = sqlite3_close (db_interface->db);
g_warn_if_fail (rc == SQLITE_OK);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]