From: Pavel Shlyak Date: Sun, 18 Aug 2019 21:50:03 +0000 (+0300) Subject: A tiny cleanup X-Git-Tag: v5.3.0^2~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ca360275552e26905b9edd3464a676506ff8501;p=thirdparty%2Fvectorscan.git A tiny cleanup --- diff --git a/src/nfa/accel_dfa_build_strat.cpp b/src/nfa/accel_dfa_build_strat.cpp index 4508d4f1..ae71e141 100644 --- a/src/nfa/accel_dfa_build_strat.cpp +++ b/src/nfa/accel_dfa_build_strat.cpp @@ -214,7 +214,7 @@ static bool double_byte_ok(const AccelScheme &info) { return !info.double_byte.empty() && info.double_cr.count() < info.double_byte.size() && - info.double_cr.count() <= 2 && !info.double_byte.empty(); + info.double_cr.count() <= 2; } static