]> git.notmuchmail.org Git - notmuch/blobdiff - lib/parse-sexp.cc
lib/thread-fp: factor out query expansion, rewrite in Xapian
[notmuch] / lib / parse-sexp.cc
index 849142961ed69b49aba28da866440a53628df02d..17401f47d79de3197a5672a19c99b7311e147e54 100644 (file)
@@ -219,8 +219,6 @@ _sexp_to_xapian_query (notmuch_database_t *notmuch, const _sexp_prefix_t *parent
                       Xapian::Query &output)
 {
     if (sx->ty == SEXP_VALUE) {
-       std::string term = Xapian::Unicode::tolower (sx->val);
-       Xapian::Stem stem = *(notmuch->stemmer);
        std::string term_prefix = parent ? _find_prefix (parent->name) : "";
 
        if (sx->aty == SEXP_BASIC && strcmp (sx->val, "*") == 0) {