Browse Source

unnecessary if statement

miguelfreitas
gubatron 10 years ago
parent
commit
861e5d8d20
  1. 4
      src/twister.cpp

4
src/twister.cpp

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

Loading…
Cancel
Save