astyle formatting

This commit is contained in:
Daniel Marjamäki 2014-01-05 21:12:32 +01:00
parent afaf1473a8
commit 0877adb542
1 changed files with 3 additions and 3 deletions

View File

@ -2178,11 +2178,11 @@ void CheckOther::checkZeroDivisionOrUselessCondition()
{
if (!_settings->isEnabled("warning"))
return;
// Use experimental checking instead based on value flow analysis
if (_settings->valueFlow)
return;
return;
const SymbolDatabase *symbolDatabase = _tokenizer->getSymbolDatabase();
const std::size_t numberOfFunctions = symbolDatabase->functionScopes.size();
for (std::size_t functionIndex = 0; functionIndex < numberOfFunctions; ++functionIndex) {