VirtualBox

Changeset 48342 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Sep 6, 2013 7:22:36 AM (11 years ago)
Author:
vboxsync
Message:

Main/GuestCtrl: warnings, don't ignore the exit code

Location:
trunk/src/VBox/Main/src-client
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestCtrlImpl.cpp

    r47732 r48342  
    9797    uint32_t uContextID;
    9898    int rc = pSvcCb->mpaParms[0].getUInt32(&uContextID);
    99     AssertMsgRC(rc, ("Unable to extract callback context ID, pvData=%p\n", pSvcCb));
    100     if (RT_FAILURE(rc))
    101         return rc;
     99    AssertMsgRCReturn(rc, ("Unable to extract callback context ID, pvData=%p\n", pSvcCb), rc);
    102100#ifdef DEBUG
    103101    LogFlowFunc(("CID=%RU32, uSession=%RU32, uObject=%RU32, uCount=%RU32\n",
  • trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp

    r47817 r48342  
    13171317    CALLBACKDATA_SESSION_NOTIFY dataCb;
    13181318    /* pSvcCb->mpaParms[0] always contains the context ID. */
    1319     pSvcCbData->mpaParms[1].getUInt32(&dataCb.uType);
    1320     pSvcCbData->mpaParms[2].getUInt32(&dataCb.uResult);
     1319    int vrc = pSvcCbData->mpaParms[1].getUInt32(&dataCb.uType);
     1320    AssertRCReturn(vrc, vrc);
     1321    vrc = pSvcCbData->mpaParms[2].getUInt32(&dataCb.uResult);
     1322    AssertRCReturn(vrc, vrc);
    13211323
    13221324    LogFlowThisFunc(("ID=%RU32, uType=%RU32, guestRc=%Rrc\n",
    13231325                     mData.mSession.mID, dataCb.uType, dataCb.uResult));
    1324 
    1325     int vrc = VINF_SUCCESS;
    13261326
    13271327    GuestSessionStatus_T sessionStatus = GuestSessionStatus_Undefined;
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