From 62cd376efabf7aee79e9064d5a9de4fe52ed6a01 Mon Sep 17 00:00:00 2001 From: Larry Luo Date: Tue, 19 Jul 2022 19:31:32 -0700 Subject: [PATCH] Code clean up --- src/Interpreters/GinFilter.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Interpreters/GinFilter.cpp b/src/Interpreters/GinFilter.cpp index 7a70ec32570..0ab1455c3ec 100644 --- a/src/Interpreters/GinFilter.cpp +++ b/src/Interpreters/GinFilter.cpp @@ -212,12 +212,7 @@ bool GinFilter::contains(const GinFilter & af, PostingsCacheForStore &cache_stor cache_store.cache[af.getMatchString()] = postings_cache; } - if (match(postings_cache)) - { - return true; - } - - return false; + return match(postings_cache); } const String& GinFilter::getName()