Skip to content

Commit 5e7e5d2

Browse files
committed
path.cpp: suppress knownConditionTrueFalse false positive [skip ci]
1 parent 0f90070 commit 5e7e5d2

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
@@ -253,6 +253,7 @@ Standards::Language Path::identify(const std::string &path, bool *header)
253253
return Standards::Language::CPP;
254254
if (c_src_exts.find(ext) != c_src_exts.end())
255255
return Standards::Language::C;
256+
// cppcheck-suppress knownConditionTrueFalse - TODO: FP
256257
if (!caseInsensitiveFilesystem())
257258
strTolower(ext);
258259
if (ext == ".h") {

0 commit comments

Comments
 (0)