Skip to content

Commit 4dc4a6d

Browse files
committed
path.cpp: suppress knownConditionTrueFalse false positive
1 parent 3304846 commit 4dc4a6d

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
@@ -227,6 +227,7 @@ Settings::Language Path::identify(const std::string &path, bool *header)
227227
return Settings::Language::CPP;
228228
if (c_src_exts.find(ext) != c_src_exts.end())
229229
return Settings::Language::C;
230+
// cppcheck-suppress knownConditionTrueFalse - TODO: FP
230231
if (!caseInsensitiveFilesystem())
231232
strTolower(ext);
232233
if (ext == ".h") {

0 commit comments

Comments
 (0)