Skip to content
Snippets Groups Projects
Commit 5b57ed2f authored by Felix de las Pozas's avatar Felix de las Pozas
Browse files

Fix unused warning in subprojects.

parent e606c252
No related branches found
No related tags found
No related merge requests found
......@@ -1182,5 +1182,7 @@ void stackviz::MainWindow::sendZeroEQPlaybackOperation(const unsigned int op)
{
std::cerr << "Unknown exception when sending play operation. " << __FILE__ << ":" << __LINE__ << std::endl;
}
#else
__attribute__((unused)) const auto unused = op; // c++17 [[maybe_unused]]
#endif
}
......@@ -2118,6 +2118,8 @@ namespace visimpl
{
std::cerr << "Unknown exception when sending play operation. " << __FILE__ << ":" << __LINE__ << std::endl;
}
#else
__attribute__((unused)) const auto unused = op; // c++17 [[maybe_unused]]
#endif
}
......
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