VirtualBox

Ignore:
Timestamp:
May 5, 2008 12:32:51 PM (17 years ago)
Author:
vboxsync
Message:

AssertBreak -> AssertBreakStmt.

File:
1 edited

Legend:

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

    r8155 r8569  
    11631163        memcpy(&cdb[0], pbCmd, cbCmd);
    11641164        IOReturn irc = (*ppScsiTaskI)->SetCommandDescriptorBlock(ppScsiTaskI, cdb, cbCmd);
    1165         AssertBreak(irc == kIOReturnSuccess,);
     1165        AssertBreakVoid(irc == kIOReturnSuccess);
    11661166
    11671167        /* Setup the buffer. */
     
    11761176                                                          : kSCSIDataTransfer_FromInitiatorToTarget);
    11771177        }
    1178         AssertBreak(irc == kIOReturnSuccess,);
     1178        AssertBreakVoid(irc == kIOReturnSuccess);
    11791179
    11801180        /* Set the timeout. */
    11811181        irc = (*ppScsiTaskI)->SetTimeoutDuration(ppScsiTaskI, cTimeoutMillies ? cTimeoutMillies : 30000 /*ms*/);
    1182         AssertBreak(irc == kIOReturnSuccess,);
     1182        AssertBreakVoid(irc == kIOReturnSuccess);
    11831183
    11841184        /* Execute the command and get the response. */
     
    11881188        UInt64 cbReturned = 0;
    11891189        irc = (*ppScsiTaskI)->ExecuteTaskSync(ppScsiTaskI, &SenseData, &TaskStatus, &cbReturned);
    1190         AssertBreak(irc == kIOReturnSuccess,);
     1190        AssertBreakVoid(irc == kIOReturnSuccess);
    11911191        if (pcbBuf)
    11921192            *pcbBuf = cbReturned;
    11931193
    11941194        irc = (*ppScsiTaskI)->GetSCSIServiceResponse(ppScsiTaskI, &ServiceResponse);
    1195         AssertBreak(irc == kIOReturnSuccess,);
    1196         AssertBreak(ServiceResponse == kSCSIServiceResponse_TASK_COMPLETE,);
     1195        AssertBreakVoid(irc == kIOReturnSuccess);
     1196        AssertBreakVoid(ServiceResponse == kSCSIServiceResponse_TASK_COMPLETE);
    11971197
    11981198        if (TaskStatus == kSCSITaskStatus_GOOD)
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