VirtualBox

Changeset 72867 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Jul 4, 2018 11:25:50 AM (7 years ago)
Author:
vboxsync
Message:

DBGFReg: Make cppcheck happy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/DBGFReg.cpp

    r69111 r72867  
    295295
    296296        if (enmType == DBGFREGSETTYPE_CPU)
    297             AssertMsgReturn((unsigned)paRegisters[iDesc].enmReg == iDesc && iDesc < (unsigned)DBGFREG_END,
     297            AssertMsgReturn(iDesc < (unsigned)DBGFREG_END && (unsigned)paRegisters[iDesc].enmReg == iDesc,
    298298                            ("%d iDesc=%d\n", paRegisters[iDesc].enmReg, iDesc),
    299299                            VERR_INVALID_PARAMETER);
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