CheckMemoryLeakInFunction: print simplified tokens only with --debug and --verbose.
Suggested by aggro80@ and approved by hyd_danmar@ in IRC.
This commit is contained in:
parent
92f436b474
commit
ca053bf8f9
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue