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) :
} }
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…
Cancel
Save