Skip to content

Commit 27c4120

Browse files
Update checkclass.cpp
1 parent b178584 commit 27c4120

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎lib/checkclass.cpp‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1577,7 +1577,6 @@ void CheckClassImpl::checkMemsetType(const Scope *start, const Token *tok, const
15771577
}
15781578
// don't warn if variable static or const, pointer or array of pointers
15791579
if (!var.isStatic() && !var.isConst() && !var.isPointer() && (!var.isArray() || var.typeEndToken()->str() != "*")) {
1580-
const Token *tok1 = var.typeStartToken();
15811580
const Scope *typeScope = var.typeScope();
15821581

15831582
const std::string typeName = var.getTypeName();

0 commit comments

Comments
 (0)