ZVISION: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
This commit is contained in:
parent
4d97f7581a
commit
008e2b85b6
4 changed files with 11 additions and 0 deletions
|
@ -360,6 +360,8 @@ int LeverControl::calculateVectorAngle(const Common::Point &pointOne, const Comm
|
|||
case 3:
|
||||
angle = 180 + angle;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return angle;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue