VirtualBox

Ignore:
Timestamp:
Aug 23, 2021 7:08:27 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
146437
Message:

Storage: More VALID_PTR -> RT_VALID_PTR/AssertPtr.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Storage/testcase/VDScriptInterp.cpp

    r82968 r90802  
    638638                pCtrl = (PVDSCRIPTINTERPCTRL)vdScriptStackGetUsed(&pThis->StackCtrl);
    639639            }
    640             AssertMsg(VALID_PTR(pCtrl), ("Incorrect program, return outside of function\n"));
     640            AssertMsg(RT_VALID_PTR(pCtrl), ("Incorrect program, return outside of function\n"));
    641641            break;
    642642        }
     
    662662                pCtrl = (PVDSCRIPTINTERPCTRL)vdScriptStackGetUsed(&pThis->StackCtrl);
    663663            }
    664             AssertMsg(VALID_PTR(pCtrl), ("Incorrect program, continue outside of loop\n"));
     664            AssertMsg(RT_VALID_PTR(pCtrl), ("Incorrect program, continue outside of loop\n"));
    665665
    666666            /* Put the conditionals for while and for loops onto the control stack again. */
     
    693693                pCtrl = (PVDSCRIPTINTERPCTRL)vdScriptStackGetUsed(&pThis->StackCtrl);
    694694            }
    695             AssertMsg(VALID_PTR(pCtrl), ("Incorrect program, break outside of loop\n"));
     695            AssertMsg(RT_VALID_PTR(pCtrl), ("Incorrect program, break outside of loop\n"));
    696696            vdScriptStackPop(&pThis->StackCtrl); /* Remove loop control statement. */
    697697            break;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette