[tracker] miner-fs: Remove unused argument is_new
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] miner-fs: Remove unused argument is_new
- Date: Sat, 20 Dec 2014 16:49:23 +0000 (UTC)
commit 50dc59e060b11a94e5cdbb9859c15da9a0531738
Author: Martin Kampas <martin kampas tieto com>
Date: Mon Oct 20 13:55:27 2014 +0200
miner-fs: Remove unused argument is_new
https://bugzilla.gnome.org/show_bug.cgi?id=678986
src/libtracker-miner/tracker-miner-fs.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index 113c770..069f869 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -1492,8 +1492,7 @@ lookup_file_urn (TrackerMinerFS *fs,
static gboolean
item_add_or_update (TrackerMinerFS *fs,
GFile *file,
- gint priority,
- gboolean is_new)
+ gint priority)
{
TrackerMinerFSPrivate *priv;
TrackerSparqlBuilder *sparql;
@@ -2552,8 +2551,7 @@ item_queue_handlers_cb (gpointer user_data)
if (!parent ||
tracker_indexing_tree_file_is_root (fs->priv->indexing_tree, file) ||
lookup_file_urn (fs, parent, TRUE)) {
- keep_processing = item_add_or_update (fs, file, priority,
- (queue == QUEUE_CREATED));
+ keep_processing = item_add_or_update (fs, file, priority);
} else {
TrackerPriorityQueue *item_queue;
gchar *uri;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]