From e496d34d9be946b74ab4266c2d1f57759b8ce5ec Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Tue, 12 Dec 2017 18:15:30 +1300 Subject: [PATCH] Eliminate unnecessary temporary --- xapian-core/api/queryinternal.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xapian-core/api/queryinternal.cc b/xapian-core/api/queryinternal.cc index cd2bfcb25..57c72ca4d 100644 --- a/xapian-core/api/queryinternal.cc +++ b/xapian-core/api/queryinternal.cc @@ -1060,8 +1060,7 @@ QueryWildcard::postlist(QueryOptimiser * qopt, double factor) const // We build an OP_OR tree for OP_SYNONYM and then wrap it in a // SynonymPostList, which supplies the weights. - PostingIterator::Internal * r = qopt->make_synonym_postlist(pl, factor); - RETURN(r); + RETURN(qopt->make_synonym_postlist(pl, factor)); } termcount -- 2.11.4.GIT