Merge pull request #284 from gubatron/unnecessary-if-statement

unnecessary if statement
This commit is contained in:
miguelfreitas 2014-10-16 14:20:43 -03:00
commit 94d29f8409

View File

@ -2494,9 +2494,7 @@ TextSearch::TextSearch(string const &keyword, entry const &params) :
}
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();