VirtualBox

Changeset 90770 in vbox


Ignore:
Timestamp:
Aug 21, 2021 1:35:39 AM (3 years ago)
Author:
vboxsync
Message:

VBox/com/listeners.h: Assert IEvent::getType result. bugref:1909

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/com/listeners.h

    r82968 r90770  
    168168    {
    169169        VBoxEventType_T aType = VBoxEventType_Invalid;
    170         aEvent->COMGETTER(Type)(&aType);
     170        HRESULT hrc = aEvent->COMGETTER(Type)(&aType);
     171        AssertMsg(SUCCEEDED(hrc), ("hrc=%Rhrc\n", hrc)); RT_NOREF(hrc);
    171172        return mListener->HandleEvent(aType, aEvent);
    172173    }
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