LAB: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
This commit is contained in:
parent
d7a22f72a1
commit
4aaff742fc
2 changed files with 13 additions and 0 deletions
|
@ -843,6 +843,9 @@ void LabEngine::processMainButton(uint16 &curInv, uint16 &lastInv, uint16 &oldDi
|
|||
|
||||
_interface->mayShowCrumbIndicator();
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
_graphics->screenUpdate();
|
||||
|
@ -960,6 +963,9 @@ void LabEngine::processAltButton(uint16 &curInv, uint16 &lastInv, uint16 buttonI
|
|||
}
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
_graphics->screenUpdate();
|
||||
|
@ -1024,6 +1030,10 @@ void LabEngine::performAction(uint16 actionMode, Common::Point curPos, uint16 &c
|
|||
else if (curPos.y < (_utils->vgaScaleY(149) + _utils->svgaCord(2)))
|
||||
drawStaticMessage(kTextNothing);
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -469,6 +469,9 @@ void LabEngine::doActions(const ActionList &actionList) {
|
|||
}
|
||||
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue