Diff of /main/trunk/common/platform/unix/SysSemaphore.cpp [r8567] .. [r8568] Maximize Restore

  Switch to side-by-side view

--- a/main/trunk/common/platform/unix/SysSemaphore.cpp
+++ b/main/trunk/common/platform/unix/SysSemaphore.cpp
@@ -76,6 +76,9 @@
  */
 SysSemaphore::SysSemaphore(bool createSem)
 {
+    postedCount = 0;
+    created = false;
+
     if (createSem)
     {
         create();