mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-11 07:17:53 +00:00
unnecessary if statement
This commit is contained in:
parent
377870f92e
commit
861e5d8d20
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user