moved checks back to style (where they used to be)

This commit is contained in:
Daniel Marjamäki 2009-03-27 15:55:14 +01:00
parent 4eeac1f364
commit 063f59c86c
1 changed files with 6 additions and 2 deletions

View File

@ -44,8 +44,12 @@ public:
void runChecks(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)
{
CheckOther checkOther(tokenizer, settings, errorLogger);
checkOther.CheckUnsignedDivision();
checkOther.CheckCharVariable();
if (settings->_checkCodingStyle)
{
checkOther.CheckUnsignedDivision();
checkOther.CheckCharVariable();
}
}
void runSimplifiedChecks(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)