+ fix compiler warnings

This commit is contained in:
wmayer
2015-12-30 10:58:14 +01:00
parent 0442b53057
commit bc4f4de54b
3 changed files with 3 additions and 0 deletions

View File

@@ -912,6 +912,7 @@ int Sketch::addConstraint(const Constraint *constraint)
}
break;
case None:
case NumConstraintTypes:
break;
}

View File

@@ -263,6 +263,7 @@ public:
switch (constraint->Type) {
case Sketcher::None:
case Sketcher::NumConstraintTypes:
assert( false );
return false;
case Sketcher::Horizontal:

View File

@@ -3899,6 +3899,7 @@ Restart:
case Coincident: // nothing to do for coincident
case None:
case InternalAlignment:
case NumConstraintTypes:
break;
}