valueflow.cpp: fixed selfcheck suppression (#4940)

This commit is contained in:
Oliver Stöneberg 2023-04-08 12:15:16 +02:00 committed by GitHub
parent 93b4de36cd
commit 39f94f32f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -7727,7 +7727,7 @@ static void addToErrorPath(ValueFlow::Value& value, const ValueFlow::Value& from
});
}
static std::vector<Token*> findAllUsages(const Variable* var, Token* start) // cppcheck-suppress constParameter // FP
static std::vector<Token*> findAllUsages(const Variable* var, Token* start) // cppcheck-suppress constParameterPointer // FP
{
std::vector<Token*> result;
const Scope* scope = var->scope();