mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-03 11:17:10 +00:00
[common] windows/event: fix control flow issue
This commit is contained in:
parent
503efdd0d8
commit
38b6b0ac40
1 changed files with 5 additions and 5 deletions
|
@ -68,13 +68,13 @@ bool lgWaitEvent(LGEvent * event, unsigned int timeout)
|
||||||
case WAIT_FAILED:
|
case WAIT_FAILED:
|
||||||
DEBUG_WINERROR("Wait for event failed", GetLastError());
|
DEBUG_WINERROR("Wait for event failed", GetLastError());
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
default:
|
||||||
|
DEBUG_ERROR("Unknown wait event return code");
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUG_ERROR("Unknown wait event return code");
|
|
||||||
}
|
}
|
||||||
while(0);
|
while(true);
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool lgSignalEvent(LGEvent * event)
|
bool lgSignalEvent(LGEvent * event)
|
||||||
|
|
Loading…
Reference in a new issue