Skip to content

Commit c3bd2e0

Browse files
committed
path.cpp: mitigated unusedFunction selfcheck warning
1 parent e1fc4b6 commit c3bd2e0

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
@@ -237,6 +237,7 @@ bool Path::acceptFile(const std::string &path, const std::set<std::string> &extr
237237
return (identify(path, &header) != Standards::Language::None && !header) || extra.find(getFilenameExtension(path)) != extra.end();
238238
}
239239

240+
// cppcheck-suppress unusedFunction
240241
bool Path::isHeader(const std::string &path)
241242
{
242243
const std::string extension = getFilenameExtensionInLowerCase(path);

0 commit comments

Comments
 (0)