VirtualBox

Changeset 90782 in vbox


Ignore:
Timestamp:
Aug 23, 2021 9:27:38 AM (3 years ago)
Author:
vboxsync
Message:

VMM: AssertMsgReturn(VALID_PTR(),...) -> AssertPtrReturn

File:
1 edited

Legend:

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

    r90346 r90782  
    93659365     * Validate input.
    93669366     */
    9367     AssertMsgReturn(VALID_PTR(pszFilename), ("%p\n", pszFilename), VERR_INVALID_PARAMETER);
     9367    AssertPtrReturn(pszFilename, VERR_INVALID_POINTER);
    93689368    AssertMsgReturn(!fFlags, ("%#x\n", fFlags), VERR_INVALID_PARAMETER);
    9369     AssertMsgReturn(VALID_PTR(ppSSM), ("%p\n", ppSSM), VERR_INVALID_PARAMETER);
     9369    AssertPtrReturn(ppSSM, VERR_INVALID_POINTER);
    93709370
    93719371    /*
     
    94129412     * Validate input.
    94139413     */
    9414     AssertMsgReturn(VALID_PTR(pSSM), ("%p\n", pSSM), VERR_INVALID_PARAMETER);
     9414    AssertPtrReturn(pSSM, VERR_INVALID_POINTER);
    94159415    AssertMsgReturn(pSSM->enmAfter == SSMAFTER_OPENED, ("%d\n", pSSM->enmAfter),VERR_INVALID_PARAMETER);
    94169416    AssertMsgReturn(pSSM->enmOp == SSMSTATE_OPEN_READ, ("%d\n", pSSM->enmOp), 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