Changeset 40013 in vbox for trunk/src/VBox/Frontends/VBoxBalloonCtrl
- Timestamp:
- Feb 6, 2012 10:35:03 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 76130
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxBalloonCtrl/VBoxWatchdog.cpp
r40012 r40013 667 667 do 668 668 { 669 int vrc = VINF_SUCCESS;670 671 669 /* Initialize global weak references. */ 672 670 g_pEventQ = com::EventQueue::getMainEventQueue(); … … 704 702 * Set up modules. 705 703 */ 706 rc = watchdogStartModules();707 if ( FAILED(rc))704 int vrc = watchdogStartModules(); 705 if (RT_FAILURE(vrc)) 708 706 break; 709 707 … … 714 712 */ 715 713 716 rc = RTCritSectEnter(&g_csMachines);717 if (RT_SUCCESS( rc))714 vrc = RTCritSectEnter(&g_csMachines); 715 if (RT_SUCCESS(vrc)) 718 716 { 719 717 for (unsigned j = 0; j < RT_ELEMENTS(g_aModules); j++) … … 728 726 729 727 int rc2 = RTCritSectLeave(&g_csMachines); 730 if (RT_SUCCESS( rc))731 rc = rc2;732 AssertRC( rc);728 if (RT_SUCCESS(vrc)) 729 vrc = rc2; 730 AssertRC(vrc); 733 731 } 734 732
Note:
See TracChangeset
for help on using the changeset viewer.