diff --git a/lib/exprengine.cpp b/lib/exprengine.cpp index 7850d7269..7982bfd9c 100644 --- a/lib/exprengine.cpp +++ b/lib/exprengine.cpp @@ -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(); - ::ValueType vt(*tok->valueType()); - vt.pointer = 0; auto range = std::make_shared(); if (tok->valueType()->pointer == 0)