Disable "Overall time" output when --showtime is not used
This commit is contained in:
parent
8373a6d4cb
commit
a33e8f34c5
|
@ -174,7 +174,8 @@ CppCheck::CppCheck(ErrorLogger &errorLogger)
|
|||
|
||||
CppCheck::~CppCheck()
|
||||
{
|
||||
S_timerResults.ShowResults();
|
||||
if (_settings._showtime != SHOWTIME_NONE)
|
||||
S_timerResults.ShowResults();
|
||||
}
|
||||
|
||||
void CppCheck::settings(const Settings ¤tSettings)
|
||||
|
|
Loading…
Reference in New Issue