X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fparse-sexp.cc;h=17401f47d79de3197a5672a19c99b7311e147e54;hb=4083fd8bec7a34cf9c6a722b7dd511e0d31712f6;hp=849142961ed69b49aba28da866440a53628df02d;hpb=1870b3ae4bae5e68296e63acc81965eea04a1a7a;p=notmuch diff --git a/lib/parse-sexp.cc b/lib/parse-sexp.cc index 84914296..17401f47 100644 --- a/lib/parse-sexp.cc +++ b/lib/parse-sexp.cc @@ -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) {