+ fix various gcc & clang warnings

This commit is contained in:
wmayer
2016-04-24 16:21:19 +02:00
parent 6b4821a855
commit d03a8fd386
9 changed files with 25 additions and 80 deletions

View File

@@ -117,10 +117,12 @@ App::DocumentObjectExecReturn *Origin::execute(void) {
for (const char* role: AxisRoles) {
App::Line *axis = getAxis (role);
assert(axis);
(void)axis;
}
for (const char* role: PlaneRoles) {
App::Plane *plane = getPlane (role);
assert(plane);
(void)plane;
}
} catch (const Base::Exception &ex) {
setError ();