Bug 783558: fix for Coverity warning (p=tramaswa,r=aquiroz,r=jasowill)
authorDan Schaffer <Dan.Schaffer@adobe.com>
Fri, 17 Aug 2012 08:07:34 -0700
changeset 7530 c819efba769f1fbb196630fb1529a20f4d134d9c
parent 7529 9190d6ad28a1611be018bace892214fd7b8f7380
child 7531 c0e57db1ba075668aef10a3be3171c65f8dbc6ce
push id4256
push userdschaffe@adobe.com
push dateMon, 20 Aug 2012 13:10:53 +0000
reviewersaquiroz, jasowill
bugs783558, 1100348, 1101476
Bug 783558: fix for Coverity warning (p=tramaswa,r=aquiroz,r=jasowill) integrate CL 1100348 CL@1101476
core/Isolate.cpp
--- a/core/Isolate.cpp
+++ b/core/Isolate.cpp
@@ -686,17 +686,17 @@ namespace avmplus
     // InterruptableState 
     //
 #ifdef DEBUG
     int InterruptableState::globalId = 0;
 #endif // DEBUG
 
 
     InterruptableState::EnterWait::EnterWait(Isolate* isolate, vmbase::MonitorLocker<vmbase::IMPLICIT_SAFEPOINT>& cond, int32_t timeout)
-        : interrupted(false)
+        : interrupted(false), result(false)
     {
         if (isolate) {
             isolate->setActiveWaitRecord(cond.getMonitor());
         }
         DEBUG_STATE(("thread %d is sleeping\n", VMPI_currentThread()));
         if (timeout == -1) {
             cond.wait();
         }