Merge pull request #528 from Dmitry-Me/removeC4189
Remove C4189 in release builds
This commit is contained in:
commit
3c891f7960
|
@ -834,11 +834,9 @@ void CheckBufferOverrun::valueFlowCheckArrayIndex(const Token * const tok, const
|
|||
|
||||
void CheckBufferOverrun::checkScope(const Token *tok, const ArrayInfo &arrayInfo)
|
||||
{
|
||||
assert(tok->previous() != nullptr);
|
||||
const MathLib::bigint total_size = arrayInfo.num(0) * arrayInfo.element_size();
|
||||
|
||||
const Token *scope_begin = tok->previous();
|
||||
assert(scope_begin != 0);
|
||||
|
||||
const unsigned int declarationId = arrayInfo.declarationId();
|
||||
|
||||
const bool isPortabilityEnabled = _settings->isEnabled("portability");
|
||||
|
|
Loading…
Reference in New Issue