VirtualBox

Changeset 24948 in vbox for trunk


Ignore:
Timestamp:
Nov 25, 2009 12:16:47 PM (15 years ago)
Author:
vboxsync
Message:

ConsoleImpl2.cpp: Better assertion text.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r24858 r24948  
    138138    BOOL fPresent = FALSE;
    139139    Bstr aFilePath, empty;
    140    
     140
    141141    rc = vbox->CheckFirmwarePresent(aFirmwareType, empty,
    142142                                    empty.asOutParam(), aFilePath.asOutParam(), &fPresent);
     
    785785    else
    786786    {
    787         Utf8Str efiRomFile;       
    788        
     787        Utf8Str efiRomFile;
     788
    789789        /* Autodetect firmware type, basing on guest type */
    790790        if (eFwType == FirmwareType_EFI)
     
    29472947        SafeArray<ULONG64> timestampsOut;
    29482948        SafeArray<BSTR> flagsOut;
    2949         HRESULT hrc = pConsole->mControl->PullGuestProperties
    2950                                       (ComSafeArrayAsOutParam(namesOut),
    2951                                        ComSafeArrayAsOutParam(valuesOut),
    2952                                        ComSafeArrayAsOutParam(timestampsOut),
    2953                                        ComSafeArrayAsOutParam(flagsOut));
    2954         AssertMsgReturn(SUCCEEDED(hrc), ("hrc=%#x\n", hrc),
    2955                         VERR_GENERAL_FAILURE);
     2949        HRESULT hrc;
     2950        hrc = pConsole->mControl->PullGuestProperties(ComSafeArrayAsOutParam(namesOut),
     2951                                                      ComSafeArrayAsOutParam(valuesOut),
     2952                                                      ComSafeArrayAsOutParam(timestampsOut),
     2953                                                      ComSafeArrayAsOutParam(flagsOut));
     2954        AssertMsgReturn(SUCCEEDED(hrc), ("hrc=%Rrc\n", hrc), VERR_GENERAL_FAILURE);
    29562955        size_t cProps = namesOut.size();
    29572956        size_t cAlloc = cProps + 1;
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