Skip to content

Commit 5f24e44

Browse files
committed
path.cpp: mitigated uninitvar selfcheck false positive
1 parent f64f81f commit 5f24e44

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/path.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ bool Path::isHeader(const std::string &path)
246246

247247
Standards::Language Path::identify(const std::string &path, bool *header)
248248
{
249+
// cppcheck-suppress uninitvar - TODO: FP
249250
if (header)
250251
*header = false;
251252

0 commit comments

Comments
 (0)