VirtualBox

Changeset 36433 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Mar 25, 2011 2:52:01 PM (14 years ago)
Author:
vboxsync
Message:

Main/HostPower: uninitialized variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/HostPower.cpp

    r35368 r36433  
    156156
    157157                /* Wait until the operation has been completed. */
    158                 LONG iRc;
    159158                rc = progress->WaitForCompletion(-1);
    160159                if (SUCCEEDED(rc))
    161                     progress->COMGETTER(ResultCode) (&iRc);
    162                 rc = iRc;
     160                {
     161                    LONG iRc;
     162                    progress->COMGETTER(ResultCode)(&iRc);
     163                    rc = iRc;
     164                }
    163165
    164166                AssertMsg (SUCCEEDED(rc), ("SaveState WaitForCompletion "
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette