From 0877adb5420738f78bbce44a9891320a1b36d62d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 5 Jan 2014 21:12:32 +0100 Subject: [PATCH] astyle formatting --- lib/checkother.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/checkother.cpp b/lib/checkother.cpp index 7b6c38bcc..ed579199b 100644 --- a/lib/checkother.cpp +++ b/lib/checkother.cpp @@ -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) {