VirtualBox

Changeset 103418 in vbox for trunk/src


Ignore:
Timestamp:
Feb 19, 2024 8:45:20 AM (12 months ago)
Author:
vboxsync
Message:

ValidationKit: Fix some unused expression warnings, bugref:3409

Location:
trunk/src/VBox/ValidationKit/utils
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/utils/audio/vkat.cpp

    r103352 r103418  
    525525        if (RT_SUCCESS(rc2))
    526526        {
    527             AssertPtrBreakStmt(pTstDesc->pfnExec, VERR_INVALID_POINTER);
     527            AssertPtrBreakStmt(pTstDesc->pfnExec, rc = VERR_INVALID_POINTER);
    528528            rc2 = pTstDesc->pfnExec(pTstEnv, pvCtx, &TstParms);
    529529            if (RT_FAILURE(rc2))
  • trunk/src/VBox/ValidationKit/utils/audio/vkatCommon.cpp

    r99775 r103418  
    624624
    625625                            uint32_t const cbBeaconRemaining = AudioTestBeaconGetRemaining(&Beacon);
    626                             AssertBreakStmt(cbBeaconRemaining, VERR_WRONG_ORDER);
     626                            AssertBreakStmt(cbBeaconRemaining, rc = VERR_WRONG_ORDER);
    627627
    628628                            /* Limit to exactly one beacon (pre or post). */
  • trunk/src/VBox/ValidationKit/utils/fs/FsPerf.cpp

    r103285 r103418  
    51205120        uint32_t cbMax;
    51215121    } aRuns[] = { { 0, 127 }, { cbFile - cbBuf, UINT32_MAX }, { 0, UINT32_MAX -1 }};
    5122     for (uint32_t i = 0; i < RT_ELEMENTS(aRuns); i++, bFiller)
     5122    for (uint32_t i = 0; i < RT_ELEMENTS(aRuns); i++, bFiller++)
    51235123    {
    51245124        fsPerfFillWriteBuf(aRuns[i].offFile, pbBuf, cbBuf, bFiller);
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