]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
A tiny cleanup
authorPavel Shlyak <shlyak-pavel2011@ya.ru>
Sun, 18 Aug 2019 21:50:03 +0000 (00:50 +0300)
committerHong, Yang A <yang.a.hong@intel.com>
Mon, 2 Dec 2019 16:40:38 +0000 (16:40 +0000)
src/nfa/accel_dfa_build_strat.cpp

index 4508d4f1f4778d11d6530d8ab00c5cf3b8fdb8ab..ae71e141a245636356e7c0805108d2f5809e299f 100644 (file)
@@ -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