Minor fix to previous commit
This commit is contained in:
parent
9275b49688
commit
54c6d8ab2c
|
@ -680,7 +680,7 @@ void CheckBufferOverrun::checkGlobalAndLocalVariable()
|
||||||
// manually
|
// manually
|
||||||
unsigned int sizeOfType = _tokenizer->sizeOfType(declTok);
|
unsigned int sizeOfType = _tokenizer->sizeOfType(declTok);
|
||||||
if (sizeOfType > 0)
|
if (sizeOfType > 0)
|
||||||
size /= _tokenizer->sizeOfType(declTok);
|
size /= sizeOfType;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue