This commit is contained in:
Daniel Marjamäki 2008-02-22 07:26:23 +00:00
parent 6e2e624bce
commit 942c48474c
1 changed files with 3 additions and 1 deletions

View File

@ -524,11 +524,13 @@ void CheckCaseWithoutBreak()
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// Check for case without break // Check for unsigned divisions
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
void CheckUnsignedDivision() void CheckUnsignedDivision()
{ {
// TODO: Check that the scope is the same
const char *pattern_declvar[] = { "unsigned", "int", "", NULL }; const char *pattern_declvar[] = { "unsigned", "int", "", NULL };
TOKEN *declvar = findtoken(tokens, pattern_declvar); TOKEN *declvar = findtoken(tokens, pattern_declvar);
while ( declvar ) while ( declvar )