Commit 0e1838c9 authored by Milian Wolff's avatar Milian Wolff
Browse files

Don't warn about potentially unused function

It's used in debug builds
parent 8edea338
Pipeline #42901 passed with stage
in 33 minutes and 53 seconds
......@@ -154,7 +154,7 @@ ProjectFileItem* findProjectFileItem(const IndexedString& url, bool* hasBuildSys
return file;
}
ClangParsingEnvironmentFile* parsingEnvironmentFile(const TopDUContext* context)
[[maybe_unused]] ClangParsingEnvironmentFile* parsingEnvironmentFile(const TopDUContext* context)
{
return dynamic_cast<ClangParsingEnvironmentFile*>(context->parsingEnvironmentFile().data());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment