CheckMemoryLeakInFunction: print simplified tokens only with --debug and --verbose.

Suggested by aggro80@ and approved by hyd_danmar@ in IRC.
This commit is contained in:
Slava Semushin 2009-09-02 00:54:40 +07:00
parent 92f436b474
commit ca053bf8f9
1 changed files with 1 additions and 1 deletions

View File

@ -1710,7 +1710,7 @@ void CheckMemoryLeakInFunction::checkScope(const Token *Tok1, const std::string
simplifycode(tok, all); simplifycode(tok, all);
if (_settings->_debug) if (_settings->_debug && _settings->_verbose)
{ {
tok->printOut(("Checkmemoryleak: simplifycode result for: " + varname).c_str()); tok->printOut(("Checkmemoryleak: simplifycode result for: " + varname).c_str());
} }