diff --git a/src/twister.cpp b/src/twister.cpp index 6c37ece3..f4f73ec5 100644 --- a/src/twister.cpp +++ b/src/twister.cpp @@ -2494,9 +2494,7 @@ TextSearch::TextSearch(string const &keyword, entry const ¶ms) : } entry const *pCase = params.find_key("case"); - if( pCase && pCase->type() == entry::string_t && pCase->string() == "insensitive" ) { - caseInsensitive = true; - } + caseInsensitive = pCase && pCase->type() == entry::string_t && pCase->string() == "insensitive"; int64_t now = GetAdjustedTime();