VirtualBox

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


Ignore:
Timestamp:
Dec 3, 2019 11:00:32 AM (5 years ago)
Author:
vboxsync
Message:

DevIchAc97: Remove two unnecessary assertions. bugref:9218

File:
1 edited

Legend:

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

    r82329 r82340  
    16021602{
    16031603    AssertMsgReturn(uMixerIdx + 2U <= sizeof(pThis->mixer_data),
    1604                          ("Index %RU8 out of bounds (%zu)\n", uMixerIdx, sizeof(pThis->mixer_data)),
     1604                    ("Index %RU8 out of bounds (%zu)\n", uMixerIdx, sizeof(pThis->mixer_data)),
    16051605                    UINT16_MAX);
    16061606    return RT_MAKE_U16(pThis->mixer_data[uMixerIdx + 0], pThis->mixer_data[uMixerIdx + 1]);
     
    28602860    {
    28612861        pStream = &pThis->aStreams[AC97_PORT2IDX(offPort)];
    2862         AssertPtr(pStream);
    28632862        pRegs   = &pStream->Regs;
    28642863    }
     
    30223021    {
    30233022        pStream = &pThis->aStreams[AC97_PORT2IDX(offPort)];
    3024         AssertPtr(pStream);
    3025         pRegs = &pStream->Regs;
     3023        pRegs   = &pStream->Regs;
    30263024
    30273025        DEVAC97_LOCK_BOTH_RETURN(pDevIns, pThis, pStream->u8SD, VINF_IOM_R3_IOPORT_WRITE);
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