VirtualBox

Changeset 59627 in vbox


Ignore:
Timestamp:
Feb 10, 2016 9:48:09 AM (9 years ago)
Author:
vboxsync
Message:

DrvVD: fix warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DrvVD.cpp

    r59550 r59627  
    39953995        RTListForEachSafe(&pThis->LstIoReqRedo, pIoReq, pIoReqNext, PDMMEDIAEXIOREQINT, NdLstWait)
    39963996        {
    3997             int rc;
     3997            int rc = VINF_SUCCESS;
    39983998            bool fXchg = ASMAtomicCmpXchgU32((volatile uint32_t *)&pIoReq->enmState, VDIOREQSTATE_ACTIVE, VDIOREQSTATE_SUSPENDED);
    39993999
     
    40254025                        rc = VINF_SUCCESS;
    40264026                }
     4027                else
     4028                    AssertMsgFailed(("Invalid request type %u\n", pIoReq->enmType));
    40274029
    40284030                if (rc != VINF_PDM_MEDIAEX_IOREQ_IN_PROGRESS)
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