VirtualBox

Changeset 71742 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
Apr 7, 2018 10:25:41 PM (7 years ago)
Author:
vboxsync
Message:

DevSB16.cpp,DevHDA.cpp: Just put markers on the PDMDEV_CHECK_VERSIONS_RETURN macro invoations so nobody puts stuff before them again (see ac97).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DevSB16.cpp

    r70908 r71742  
    24712471static DECLCALLBACK(int) sb16Destruct(PPDMDEVINS pDevIns)
    24722472{
    2473     PDMDEV_CHECK_VERSIONS_RETURN(pDevIns);
     2473    PDMDEV_CHECK_VERSIONS_RETURN_QUIET(pDevIns); /* this shall come first */
    24742474    PSB16STATE pThis = PDMINS_2_DATA(pDevIns, PSB16STATE);
    24752475
     
    24912491{
    24922492    RT_NOREF(iInstance);
    2493     PDMDEV_CHECK_VERSIONS_RETURN(pDevIns);
     2493    PDMDEV_CHECK_VERSIONS_RETURN(pDevIns); /* this shall come first */
    24942494    PSB16STATE pThis = PDMINS_2_DATA(pDevIns, PSB16STATE);
    24952495
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