mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-25 11:15:00 +00:00
Fixed 2 MSVC warnings (potentially undefined behavior and possibly uninitialized variable used)
svn-id: r32758
This commit is contained in:
parent
d2609258cc
commit
9194f39185
@ -268,11 +268,11 @@ int16 DialogueManager::selectAnswer() {
|
||||
}
|
||||
|
||||
int oldSelection = -1;
|
||||
int selection;
|
||||
int selection = 0;
|
||||
|
||||
uint32 event;
|
||||
Common::Point p;
|
||||
while (_engineFlags & kEngineQuit == 0) {
|
||||
while ((_engineFlags & kEngineQuit) == 0) {
|
||||
|
||||
_vm->_input->readInput();
|
||||
_vm->_input->getCursorPos(p);
|
||||
|
Loading…
Reference in New Issue
Block a user