mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-22 20:44:56 +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");
|
entry const *pCase = params.find_key("case");
|
||||||
if( pCase && pCase->type() == entry::string_t && pCase->string() == "insensitive" ) {
|
caseInsensitive = pCase && pCase->type() == entry::string_t && pCase->string() == "insensitive";
|
||||||
caseInsensitive = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
int64_t now = GetAdjustedTime();
|
int64_t now = GetAdjustedTime();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user