unnecessary if statement

This commit is contained in:
gubatron 2014-10-16 01:53:53 -04:00
parent 377870f92e
commit 861e5d8d20

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();