Commit ed508fe4 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[2726] Suppress cppcheck warning

parent 5543f4c4
......@@ -39,6 +39,8 @@ void
pathtestHelper(const std::string& file, const std::string& expected_error) {
std::string error;
try {
// cppcheck-suppress unusedScopedObject We just check if it throws
// to create, not use it. That's OK.
DataSourceClientContainer(file, ElementPtr());
} catch (const DataSourceLibraryError& dsle) {
error = dsle.what();
......
Supports Markdown
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