summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Azzarone <andrea.azzarone@canonical.com>2019-02-13 14:02:36 +0000
committerAndrea Azzarone <andrea.azzarone@canonical.com>2019-02-13 14:06:52 +0000
commit5f484f892272bb026f4efe6be877b65151e374fc (patch)
treecac4580b24c4e0439b35b002025ae254b533a758
parentc6ba6c243d4626cb126a803a7a73be6bfb270a8c (diff)
downloadtracker-5f484f892272bb026f4efe6be877b65151e374fc.tar.gz
libtracker-data: Don't call _init_token()
Don't call _init_token(). We don't use it underneath this function, and it will be later filled in with the property path for when we need it in _add_quad().
-rw-r--r--src/libtracker-data/tracker-sparql.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libtracker-data/tracker-sparql.c b/src/libtracker-data/tracker-sparql.c
index 346da7ce7..1788041e2 100644
--- a/src/libtracker-data/tracker-sparql.c
+++ b/src/libtracker-data/tracker-sparql.c
@@ -4340,8 +4340,6 @@ translate_PathElt (TrackerSparql *sparql,
/* PathElt ::= PathPrimary PathMod?
*/
_call_rule (sparql, NAMED_RULE_PathPrimary, error);
- _init_token (&sparql->current_state.predicate,
- sparql->current_state.prev_node, sparql);
if (_check_in_rule (sparql, NAMED_RULE_PathMod)) {
_call_rule (sparql, NAMED_RULE_PathMod, error);