mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-10 23:07:52 +00:00
Merge pull request #284 from gubatron/unnecessary-if-statement
unnecessary if statement
This commit is contained in:
commit
94d29f8409
@ -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…
Reference in New Issue
Block a user