clang: fix -Wunused-parameter, -Wunused-variable, -Wswitch

This commit is contained in:
wmayer
2023-03-12 14:08:31 +01:00
committed by wwmayer
parent 2a0e52e71e
commit 82ac24de5c
3 changed files with 11 additions and 2 deletions

View File

@@ -25,6 +25,8 @@
# include <cassert>
#endif // #ifndef _PreComp_
#include <boost/core/ignore_unused.hpp>
#include <Base/Exception.h>
#include <Base/Vector3D.h>
@@ -316,6 +318,7 @@ GeoListModel<GeometryFacadeUniquePtr>::GeoListModel(
// Under the Single Responsibility Principle GeoListModel cannot be made
// responsible for releasing those pointers.
assert(ownerT == false);
boost::ignore_unused(ownerT);
}
template <>