VirtualBox

Changeset 85326 in vbox


Ignore:
Timestamp:
Jul 14, 2020 9:46:56 AM (5 years ago)
Author:
vboxsync
Message:

FE/Qt: Fixed bogus if statement in darwinUsbHidSubscribeInterestNotifications. bugref:9790

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/DarwinKeyboard.cpp

    r82968 r85326  
    17541754
    17551755            rc = IOServiceAddMatchingNotification(pHidState->pNotificationPrortRef, kIOMatchedNotification,
    1756                 pDictionary, darwinUsbHidDeviceMatchCb, pHidState, &pHidState->pUsbHidDeviceMatchNotify);
    1757 
    1758             if (rc == kIOReturnSuccess && &pHidState->pUsbHidDeviceMatchNotify != NULL)
     1756                                                  pDictionary, darwinUsbHidDeviceMatchCb, pHidState,
     1757                                                  &pHidState->pUsbHidDeviceMatchNotify);
     1758
     1759            if (rc == kIOReturnSuccess && pHidState->pUsbHidDeviceMatchNotify != IO_OBJECT_NULL)
    17591760            {
    17601761                darwinUsbHidDeviceMatchCb(pHidState, pHidState->pUsbHidDeviceMatchNotify);
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