ecere/sys/Semaphore (OS X): TryWait(): Fixed uninitialized return value
authorJerome St-Louis <jerome@ecere.com>
Sat, 29 Mar 2014 21:51:22 +0000 (17:51 -0400)
committerJerome St-Louis <jerome@ecere.com>
Sat, 29 Mar 2014 21:51:22 +0000 (17:51 -0400)
- This was causing the GdbCommand timeout to return wrong value

ecere/src/sys/Semaphore.ec

index 7aaf236..44c692c 100644 (file)
@@ -71,6 +71,7 @@ public:
 #elif defined(__APPLE__)
       bool wait = false;
       mutex.Wait();
+      result = false;
       if(count > 0)
       {
          count--;