[gardening] Don't compare with FALSE.

This commit is contained in:
practicalswift
2016-06-04 00:23:59 +02:00
parent 775a0ec337
commit 1e0a4afeb0

View File

@@ -23,7 +23,7 @@ using namespace swift;
void ConditionPlatformHelper::wait(CONDITION_VARIABLE &condition,
SRWLOCK &mutex) {
BOOL result = SleepConditionVariableSRW(&condition, &mutex, INFINITE, 0);
if (result == FALSE) {
if (!result) {
DWORD errorcode = GetLastError();
fatalError(/* flags = */ 0,
"'SleepConditionVariableSRW()' failed with error code %d\n",