Fixed Cppcheck warning; Redundant assignment

This commit is contained in:
Daniel Marjamäki 2020-12-17 15:29:15 +01:00
parent 75f2ab20e8
commit 0b98053790
1 changed files with 0 additions and 2 deletions

View File

@ -2121,8 +2121,6 @@ static ExprEngine::ValuePtr executeCast(const Token *tok, Data &data)
if (!tok->valueType() || expr->valueType()->pointer < tok->valueType()->pointer)
return std::make_shared<ExprEngine::UninitValue>();
::ValueType vt(*tok->valueType());
vt.pointer = 0;
auto range = std::make_shared<ExprEngine::UninitValue>();
if (tok->valueType()->pointer == 0)