VirtualBox

Changeset 62372 in vbox


Ignore:
Timestamp:
Jul 20, 2016 5:25:41 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108918
Message:

backed out r108916

Location:
trunk/src/VBox
Files:
21 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/AudioMixBuffer.cpp

    r62370 r62372  
    6161#endif
    6262
    63 #ifdef DEBUG
    6463DECLINLINE(void) audioMixBufDbgPrintInternal(PPDMAUDIOMIXBUF pMixBuf);
    65 #endif
    6664
    6765/*
     
    408406    { \
    409407        _aType const *pSrc = (_aType const *)pvSrc; \
    410         uint32_t cSamples = RT_MIN(pOpts->cSamples, (uint32_t)(cbSrc / sizeof(_aType))); \
     408        uint32_t cSamples = RT_MIN(pOpts->cSamples, cbSrc / sizeof(_aType)); \
    411409        AUDMIXBUF_MACRO_LOG(("cSamples=%RU32, BpS=%zu, lVol=%RU32, rVol=%RU32\n", \
    412410                             pOpts->cSamples, sizeof(_aType), pOpts->From.Volume.uLeft, pOpts->From.Volume.uRight)); \
     
    425423    { \
    426424        _aType const *pSrc = (_aType const *)pvSrc; \
    427         const uint32_t cSamples = RT_MIN(pOpts->cSamples, (uint32_t)(cbSrc / sizeof(_aType))); \
     425        const uint32_t cSamples = RT_MIN(pOpts->cSamples, cbSrc / sizeof(_aType)); \
    428426        AUDMIXBUF_MACRO_LOG(("cSamples=%RU32, BpS=%zu, lVol=%RU32, rVol=%RU32\n", \
    429427                             cSamples, sizeof(_aType), pOpts->From.Volume.uLeft, pOpts->From.Volume.uRight)); \
     
    571569        \
    572570        if (pcDstWritten) \
    573             *pcDstWritten = (uint32_t)(paDst - paDstStart); \
     571            *pcDstWritten = paDst - paDstStart; \
    574572        if (pcSrcRead) \
    575             *pcSrcRead = (uint32_t)(paSrc - paSrcStart); \
     573            *pcSrcRead = paSrc - paSrcStart; \
    576574    }
    577575
  • trunk/src/VBox/Devices/Audio/DrvAudioCommon.cpp

    r62370 r62372  
    421421    int rc = VINF_SUCCESS;
    422422
    423     uint8_t cBits = 8;
    424     int cShift = 0;
     423    int cBits = 8, cShift = 0;
    425424    bool fSigned = false;
    426425
     
    457456        pProps->cBits       = cBits;
    458457        pProps->fSigned     = fSigned;
    459         pProps->cChannels   = (uint8_t)pCfg->cChannels;
     458        pProps->cChannels   = pCfg->cChannels;
    460459        pProps->cShift      = (pCfg->cChannels == 2) + cShift;
    461460        pProps->uAlign      = (1 << pProps->cShift) - 1;
  • trunk/src/VBox/Main/include/GuestDnDPrivate.h

    r62370 r62372  
    242242    uint64_t addProcessed(uint32_t cbDataAdd)
    243243    {
    244         const uint64_t cbTotal = getTotal(); NOREF(cbTotal);
     244        const uint64_t cbTotal = getTotal();
    245245        Assert(cbProcessed + cbDataAdd <= cbTotal);
    246246        cbProcessed += cbDataAdd;
  • trunk/src/VBox/Main/include/GuestSessionImpl.h

    r62370 r62372  
    103103    {
    104104        int vrc = SessionTaskOpen::taskThread(NULL, this);
    105         NOREF(vrc);
    106105    }
    107106
     
    138137    {
    139138        int vrc = SessionTaskCopyTo::taskThread(NULL, this);
    140         NOREF(vrc);
    141139    }
    142140
     
    171169    {
    172170        int vrc = SessionTaskCopyFrom::taskThread(NULL, this);
    173         NOREF(vrc);
    174171    }
    175172
     
    202199    {
    203200        int vrc = SessionTaskUpdateAdditions::taskThread(NULL, this);
    204         NOREF(vrc);
    205201    }
    206202
  • trunk/src/VBox/Main/include/HGCMObjects.h

    r62370 r62372  
    9090        uint32_t Handle()
    9191        {
    92             return (uint32_t)m_core.AvlCore.Key;
     92            return m_core.AvlCore.Key;
    9393        };
    9494
  • trunk/src/VBox/Main/src-client/ConsoleImpl.cpp

    r62370 r62372  
    240240    {
    241241        int vrc = Console::i_powerUpThread(NULL, this);
    242         NOREF(vrc);
    243242    }
    244243
     
    259258    {
    260259        int vrc = Console::i_powerDownThread(NULL, this);
    261         NOREF(vrc);
    262260    }
    263261};
     
    308306                BOOL fRemove;
    309307                pNREv->COMGETTER(Remove)(&fRemove);
     308                bool fUdp = (proto == NATProtocol_UDP);
    310309                Bstr hostIp, guestIp;
    311310                LONG hostPort, guestPort;
     
    39103909    DeviceType_T lType;
    39113910    PCFGMNODE pLunL0 = NULL;
     3911    PCFGMNODE pCfg = NULL;
    39123912
    39133913    hrc = pMediumAtt->COMGETTER(Device)(&lDev);                             H();
     
    48184818    /* Remove keys which are supposed to be removed on a suspend. */
    48194819    int rc = m_pKeyStore->deleteAllSecretKeys(true /* fSuspend */, true /* fForce */);
    4820     NOREF(rc);
    48214820}
    48224821
     
    75557554
    75567555    PUVM     pUVM  = mpUVM;                 Assert(pUVM != NULL);
    7557     uint32_t cRefs = VMR3RetainUVM(pUVM);   Assert(cRefs != UINT32_MAX);  NOREF(cRefs);
     7556    uint32_t cRefs = VMR3RetainUVM(pUVM);   Assert(cRefs != UINT32_MAX);
    75587557
    75597558    AssertMsg(   mMachineState == MachineState_Running
     
    81328131
    81338132    pFolderName->u16Size   = (uint16_t)cbString;
    8134     pFolderName->u16Length = (uint16_t)(cbString - sizeof(RTUTF16));
     8133    pFolderName->u16Length = (uint16_t)cbString - sizeof(RTUTF16);
    81358134
    81368135    parms[0].type = VBOX_HGCM_SVC_PARM_PTR;
     
    81498148
    81508149    pMapName->u16Size   = (uint16_t)cbString;
    8151     pMapName->u16Length = (uint16_t)(cbString - sizeof(RTUTF16));
     8150    pMapName->u16Length = (uint16_t)cbString - sizeof(RTUTF16);
    81528151
    81538152    parms[1].type = VBOX_HGCM_SVC_PARM_PTR;
     
    82128211
    82138212    pMapName->u16Size   = (uint16_t)cbString;
    8214     pMapName->u16Length = (uint16_t)(cbString - sizeof(RTUTF16));
     8213    pMapName->u16Length = (uint16_t)cbString - sizeof(RTUTF16);
    82158214
    82168215    parms.type = VBOX_HGCM_SVC_PARM_PTR;
     
    1028310282{
    1028410283    PDRVMAINSTATUS pThis = RT_FROM_MEMBER(pInterface, DRVMAINSTATUS, IMediaNotify);
     10284    PPDMDRVINS pDrvIns = pThis->pDrvIns;
    1028510285    LogFunc(("uLUN=%d\n", uLUN));
    1028610286    if (pThis->pmapMediumAttachments)
  • trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp

    r62370 r62372  
    17021702
    17031703                char szParamName[] = "BootDeviceX";
    1704                 szParamName[sizeof(szParamName) - 2] = (char)(pos - 1 + '0');
     1704                szParamName[sizeof(szParamName) - 2] = ((char (pos - 1)) + '0');
    17051705
    17061706                const char *pszBootDevice;
     
    25352535            for (uint32_t i = 0; i < 6; ++i)
    25362536            {
    2537                 int c1 = *macStr++ - '0';
     2537                char c1 = *macStr++ - '0';
    25382538                if (c1 > 9)
    25392539                    c1 -= 7;
    2540                 int c2 = *macStr++ - '0';
     2540                char c2 = *macStr++ - '0';
    25412541                if (c2 > 9)
    25422542                    c2 -= 7;
    2543                 *pMac++ = (char)(((c1 & 0x0f) << 4) | (c2 & 0x0f));
     2543                *pMac++ = ((c1 & 0x0f) << 4) | (c2 & 0x0f);
    25442544            }
    25452545            InsertConfigBytes(pCfg, "MAC", &Mac, sizeof(Mac));
     
    25982598
    25992599                PCFGMNODE pNetBtDevCfg;
    2600                 achBootIdx[0] = (char)('0' + uBootIdx++);   /* Boot device order. */
     2600                achBootIdx[0] = '0' + uBootIdx++;   /* Boot device order. */
    26012601                InsertConfigNode(pNetBootCfg, achBootIdx, &pNetBtDevCfg);
    26022602                InsertConfigInteger(pNetBtDevCfg, "NIC", it->mInstance);
     
    42444244    try
    42454245    {
     4246        int rc = VINF_SUCCESS;
    42464247        HRESULT hrc;
    42474248        Bstr bstr;
     4249        PCFGMNODE pLunL1 = NULL;
    42484250        PCFGMNODE pCfg = NULL;
    42494251
  • trunk/src/VBox/Main/src-client/ConsoleVRDPServer.cpp

    r62370 r62372  
    21462146              pvContext, pvUser, hVideo, u32Id, pvData, cbData));
    21472147
    2148     ConsoleVRDPServer *pServer = static_cast<ConsoleVRDPServer*>(pvContext); NOREF(pServer);
     2148    ConsoleVRDPServer *pServer = static_cast<ConsoleVRDPServer*>(pvContext);
    21492149    H3DORInstance *p = (H3DORInstance *)pvUser;
    21502150    Assert(p);
     
    36933693{
    36943694    VRDEORDERHDR update;
    3695     update.x = (uint16_t)x;
    3696     update.y = (uint16_t)y;
    3697     update.w = (uint16_t)w;
    3698     update.h = (uint16_t)h;
     3695    update.x = x;
     3696    update.y = y;
     3697    update.w = w;
     3698    update.h = h;
    36993699    if (mpEntryPoints && mhServer)
    37003700    {
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r62370 r62372  
    441441
    442442    /* First block. */
    443     SSMR3PutU32(pSSM, (uint32_t)(cbThumbnail + 2 * sizeof(uint32_t)));
     443    SSMR3PutU32(pSSM, cbThumbnail + 2 * sizeof(uint32_t));
    444444    SSMR3PutU32(pSSM, 0); /* Block type: thumbnail. */
    445445
     
    452452
    453453    /* Second block. */
    454     SSMR3PutU32(pSSM, (uint32_t)(cbPNG + 2 * sizeof(uint32_t)));
     454    SSMR3PutU32(pSSM, cbPNG + 2 * sizeof(uint32_t));
    455455    SSMR3PutU32(pSSM, 1); /* Block type: png. */
    456456
     
    469469Display::i_displaySSMLoadScreenshot(PSSMHANDLE pSSM, void *pvUser, uint32_t uVersion, uint32_t uPass)
    470470{
     471    Display *that = static_cast<Display*>(pvUser);
     472
    471473    if (uVersion != sSSMDisplayScreenshotVer)
    472474        return VERR_SSM_UNSUPPORTED_DATA_UNIT_VERSION;
     
    547549    uint32_t cMonitors;
    548550    int rc = SSMR3GetU32(pSSM, &cMonitors);
    549     NOREF(rc);
    550551    if (cMonitors != that->mcMonitors)
    551552        return SSMR3SetCfgError(pSSM, RT_SRC_POS, N_("Number of monitors changed (%d->%d)!"), cMonitors, that->mcMonitors);
     
    13721373                pCtl->aParms[0].type = VBOX_HGCM_SVC_PARM_PTR;
    13731374                pCtl->aParms[0].u.pointer.addr = pRectsCopy;
    1374                 pCtl->aParms[0].u.pointer.size = (uint32_t)(cRect * sizeof(RTRECT));
     1375                pCtl->aParms[0].u.pointer.size = cRect * sizeof(RTRECT);
    13751376
    13761377                rc = i_crCtlSubmit(&pCtl->Hdr, sizeof(*pCtl), i_displayCrCmdFree, pCtl);
     
    31023103        {
    31033104            /* No VBVA do a display update. */
     3105            DISPLAYFBINFO *pFBInfo = &pDisplay->maFramebuffers[VBOX_VIDEO_PRIMARY_SCREEN];
    31043106            pDrv->pUpPort->pfnUpdateDisplay(pDrv->pUpPort);
    31053107        }
     
    31133115        for (uScreenId = 0; uScreenId < pDisplay->mcMonitors; uScreenId++)
    31143116        {
     3117            DISPLAYFBINFO *pFBInfo = &pDisplay->maFramebuffers[uScreenId];
     3118
    31153119            Assert(pDisplay->mParent && pDisplay->mParent->i_consoleVRDPServer());
    31163120            pDisplay->mParent->i_consoleVRDPServer()->SendUpdate(uScreenId, NULL, 0);
     
    32863290{
    32873291    unsigned id = (unsigned)pCommand->iDisplay;
     3292    int rc = VINF_SUCCESS;
    32883293    if (id >= mcMonitors)
    32893294        return VERR_INVALID_PARAMETER;
     
    35813586                                  uGuestWidth, uGuestHeight,
    35823587                                  pu8BufferAddress, u64TimeStamp);
    3583     NOREF(rc);
    35843588    Assert(rc == VINF_SUCCESS /* || rc == VERR_TRY_AGAIN || rc == VINF_TRY_AGAIN*/);
    35853589# endif
     
    38443848    PDRVMAINDISPLAY pDrv = PDMIDISPLAYCONNECTOR_2_MAINDISPLAY(pInterface);
    38453849    Display *pThis = pDrv->pDisplay;
     3850    DISPLAYFBINFO *pFBInfo = &pThis->maFramebuffers[uScreenId];
    38463851
    38473852    if (ASMAtomicReadU32(&pThis->mu32UpdateVBVAFlags) > 0)
     
    41534158
    41544159    PDRVMAINDISPLAY pDrv = PDMIDISPLAYCONNECTOR_2_MAINDISPLAY(pInterface);
     4160    Display *pThis = pDrv->pDisplay;
    41554161
    41564162    uint32_t cbShape = 0;
  • trunk/src/VBox/Main/src-client/DisplayImplLegacy.cpp

    r62370 r62372  
    718718            phdr->h = (uint16_t)h;
    719719
     720            DISPLAYFBINFO *pFBInfo = &maFramebuffers[uScreenId];
     721
    720722            /* Handle the command.
    721723             *
  • trunk/src/VBox/Main/src-client/DrvAudioVRDE.cpp

    r62370 r62372  
    498498    VRDEAUDIOFORMAT audioFmt = pVRDEAudioBegin->fmt;
    499499
    500     int iSampleHz  = VRDE_AUDIO_FMT_SAMPLE_FREQ(audioFmt);     NOREF(iSampleHz);
    501     int cChannels  = VRDE_AUDIO_FMT_CHANNELS(audioFmt);        NOREF(cChannels);
    502     int cBits      = VRDE_AUDIO_FMT_BITS_PER_SAMPLE(audioFmt); NOREF(cBits);
    503     bool fUnsigned = VRDE_AUDIO_FMT_SIGNED(audioFmt);          NOREF(fUnsigned);
     500    int iSampleHz  = VRDE_AUDIO_FMT_SAMPLE_FREQ(audioFmt);
     501    int cChannels  = VRDE_AUDIO_FMT_CHANNELS(audioFmt);
     502    int cBits      = VRDE_AUDIO_FMT_BITS_PER_SAMPLE(audioFmt);
     503    bool fUnsigned = VRDE_AUDIO_FMT_SIGNED(audioFmt);
    504504
    505505    LogFlowFunc(("cbSample=%RU32, iSampleHz=%d, cChannels=%d, cBits=%d, fUnsigned=%RTbool\n",
  • trunk/src/VBox/Main/src-client/GuestDnDSourceImpl.cpp

    r62370 r62372  
    8787    {
    8888        int vrc = GuestDnDSource::i_receiveDataThread(*m_pThread, this);
    89         NOREF(vrc);
    9089    }
    9190
  • trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp

    r62370 r62372  
    9191    {
    9292        int vrc = GuestDnDTarget::i_sendDataThread(*m_pThread, this);
    93         NOREF(vrc);
    9493    }
    9594
  • trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp

    r62370 r62372  
    9393    {
    9494        int vrc = GuestSession::i_startSessionThread(NULL, this);
    95         NOREF(vrc);
    9695    }
    9796};
     
    294293
    295294    int rc = VINF_SUCCESS;
    296     NOREF(rc);
    297295
    298296    AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
     
    17461744    LogFlowThisFuncEnter();
    17471745
     1746    HRESULT hr = S_OK;
    17481747    int vrc = VINF_SUCCESS;
    17491748
     
    17621761         * worker thread. */
    17631762        //this function delete pTask in case of exceptions, so there is no need in the call of delete operator
    1764         HRESULT hrc = pTask->createThread();
    1765         NOREF(hrc);
     1763        hr = pTask->createThread();
     1764
    17661765    }
    17671766    catch(std::bad_alloc &)
  • trunk/src/VBox/Main/src-client/MachineDebuggerImpl.cpp

    r62370 r62372  
    13131313                            ssize_t cch = DBGFR3RegFormatValue(szHex, sizeof(szHex), &paRegs[iReg].Val,
    13141314                                                               paRegs[iReg].enmType, true /*fSpecial*/);
    1315                             NOREF(cch);
    13161315                            Assert(cch > 0);
    13171316                            aNames[iReg] = Utf8Str(paRegs[iReg].pszName);
  • trunk/src/VBox/Main/src-client/MouseImpl.cpp

    r62370 r62372  
    10091009                if (fValid)
    10101010                {
    1011                     uint8_t fu8 = (uint8_t)(  (fInContact? 0x01: 0x00)
    1012                                             | (fInRange?   0x02: 0x00));
     1011                    uint8_t fu8 =   (fInContact? 0x01: 0x00)
     1012                                  | (fInRange?   0x02: 0x00);
    10131013                    pau64Contacts[cContacts] = RT_MAKE_U64_FROM_U16((uint16_t)xAdj,
    10141014                                                                    (uint16_t)yAdj,
  • trunk/src/VBox/Main/src-client/PCIRawDevImpl.cpp

    r62370 r62372  
    7878    ComPtr<IVirtualBox> vbox;
    7979
    80     HRESULT hrc = machine->COMGETTER(Parent)(vbox.asOutParam()); NOREF(hrc);
     80    HRESULT hrc = machine->COMGETTER(Parent)(vbox.asOutParam());
    8181    Assert(SUCCEEDED(hrc));
    8282
     
    9898        msg = BstrFmt("runtime error %Rrc", rc);
    9999
    100     fireHostPCIDevicePlugEvent(es, bstrId.raw(), true /* plugged */, RT_SUCCESS_NP(rc) /* success */, pda, msg.raw());
     100    fireHostPCIDevicePlugEvent(es, bstrId.raw(), true /* plugged */, RT_SUCCESS(rc) /* success */, pda, msg.raw());
    101101
    102102    return VINF_SUCCESS;
  • trunk/src/VBox/Main/src-client/RemoteUSBDeviceImpl.cpp

    r62370 r62372  
    7979
    8080    unconst(mData.port)         = pDevDesc->idPort;
    81     unconst(mData.version)      = (uint16_t)(pDevDesc->bcdUSB >> 8);
     81    unconst(mData.version)      = pDevDesc->bcdUSB >> 8;
    8282    if (fDescExt)
    8383    {
     
    117117
    118118    mData.dirty                  = false;
    119     unconst(mData.devId)        = (uint16_t)pDevDesc->id;
     119    unconst(mData.devId)        = pDevDesc->id;
    120120
    121121    unconst(mData.clientId)     = u32ClientId;
  • trunk/src/VBox/Main/src-client/UsbCardReader.cpp

    r62370 r62372  
    432432    LogFlowFunc(("ENTER: pvUser:%p\n",
    433433                 pvUser));
    434     PUSBCARDREADER pThis = RT_FROM_MEMBER(pInterface, USBCARDREADER, ICardReaderDown); NOREF(pThis);
     434    PUSBCARDREADER pThis = RT_FROM_MEMBER(pInterface, USBCARDREADER, ICardReaderDown);
    435435    int rc = VERR_NOT_SUPPORTED;
    436436    AssertRC(rc);
     
    446446    LogFlowFunc(("ENTER: pvUser:%p, u32Disposition:%RX32\n",
    447447                 pvUser, u32Disposition));
    448     PUSBCARDREADER pThis = RT_FROM_MEMBER(pInterface, USBCARDREADER, ICardReaderDown); NOREF(pThis);
     448    PUSBCARDREADER pThis = RT_FROM_MEMBER(pInterface, USBCARDREADER, ICardReaderDown);
    449449    int rc = VERR_NOT_SUPPORTED;
    450450    AssertRC(rc);
     
    745745        case VRDE_SCARD_NOTIFY_DETACH:
    746746        {
    747             VRDESCARDNOTIFYDETACH *p = (VRDESCARDNOTIFYDETACH *)pvData; NOREF(p);
     747            VRDESCARDNOTIFYDETACH *p = (VRDESCARDNOTIFYDETACH *)pvData;
    748748            Assert(cbData == sizeof(VRDESCARDNOTIFYDETACH));
    749749
     
    831831        {
    832832            Assert(cbData == sizeof(VRDESCARDRELEASECONTEXTRSP) || RT_FAILURE(rcRequest));
    833             VRDESCARDRELEASECONTEXTRSP *pRsp = (VRDESCARDRELEASECONTEXTRSP *)pvData; NOREF(pRsp);
    834             UCRREQCTX *pCtx = (UCRREQCTX *)pvUser; NOREF(pCtx);
     833            VRDESCARDRELEASECONTEXTRSP *pRsp = (VRDESCARDRELEASECONTEXTRSP *)pvData;
     834            UCRREQCTX *pCtx = (UCRREQCTX *)pvUser;
    835835
    836836            Assert(pCtx->u32Function == u32Function);
     
    903903        {
    904904            Assert(cbData == sizeof(VRDESCARDCANCELRSP) || RT_FAILURE(rcRequest));
    905             VRDESCARDCANCELRSP *pRsp = (VRDESCARDCANCELRSP *)pvData; NOREF(pRsp);
    906             UCRREQCTX *pCtx = (UCRREQCTX *)pvUser; NOREF(pCtx);
     905            VRDESCARDCANCELRSP *pRsp = (VRDESCARDCANCELRSP *)pvData;
     906            UCRREQCTX *pCtx = (UCRREQCTX *)pvUser;
    907907
    908908            Assert(pCtx->u32Function == u32Function);
     
    953953        {
    954954            Assert(cbData == sizeof(VRDESCARDRECONNECTRSP) || RT_FAILURE(rcRequest));
    955             VRDESCARDRECONNECTRSP *pRsp = (VRDESCARDRECONNECTRSP *)pvData; NOREF(pRsp);
    956             UCRREQCTX *pCtx = (UCRREQCTX *)pvUser; NOREF(pCtx);
     955            VRDESCARDRECONNECTRSP *pRsp = (VRDESCARDRECONNECTRSP *)pvData;
     956            UCRREQCTX *pCtx = (UCRREQCTX *)pvUser;
    957957
    958958            Assert(pCtx->u32Function == u32Function);
     
    994994        {
    995995            Assert(cbData == sizeof(VRDESCARDBEGINTRANSACTIONRSP) || RT_FAILURE(rcRequest));
    996             VRDESCARDBEGINTRANSACTIONRSP *pRsp = (VRDESCARDBEGINTRANSACTIONRSP *)pvData; NOREF(pRsp);
    997             UCRREQCTX *pCtx = (UCRREQCTX *)pvUser; NOREF(pCtx);
     996            VRDESCARDBEGINTRANSACTIONRSP *pRsp = (VRDESCARDBEGINTRANSACTIONRSP *)pvData;
     997            UCRREQCTX *pCtx = (UCRREQCTX *)pvUser;
    998998
    999999            Assert(pCtx->u32Function == u32Function);
     
    10051005        {
    10061006            Assert(cbData == sizeof(VRDESCARDENDTRANSACTIONRSP) || RT_FAILURE(rcRequest));
    1007             VRDESCARDENDTRANSACTIONRSP *pRsp = (VRDESCARDENDTRANSACTIONRSP *)pvData; NOREF(pRsp);
    1008             UCRREQCTX *pCtx = (UCRREQCTX *)pvUser; NOREF(pCtx);
     1007            VRDESCARDENDTRANSACTIONRSP *pRsp = (VRDESCARDENDTRANSACTIONRSP *)pvData;
     1008            UCRREQCTX *pCtx = (UCRREQCTX *)pvUser;
    10091009
    10101010            Assert(pCtx->u32Function == u32Function);
     
    10161016        {
    10171017            Assert(cbData == sizeof(VRDESCARDSTATERSP) || RT_FAILURE(rcRequest));
    1018             VRDESCARDSTATERSP *pRsp = (VRDESCARDSTATERSP *)pvData; NOREF(pRsp);
    1019             UCRREQCTX *pCtx = (UCRREQCTX *)pvUser; NOREF(pCtx);
     1018            VRDESCARDSTATERSP *pRsp = (VRDESCARDSTATERSP *)pvData;
     1019            UCRREQCTX *pCtx = (UCRREQCTX *)pvUser;
    10201020
    10211021            Assert(pCtx->u32Function == u32Function);
     
    15781578        req.ioSendPci.u32Protocol = pioSendRequest->u32Protocol;
    15791579        req.ioSendPci.u32PciLength = pioSendRequest->cbPciLength < 2 * sizeof(uint32_t)?
    1580                                          (uint32_t)(2 * sizeof(uint32_t)):
     1580                                         2 * sizeof(uint32_t):
    15811581                                         pioSendRequest->cbPciLength;
    15821582        Assert(pioSendRequest->cbPciLength <= VRDE_SCARD_MAX_PCI_DATA + 2 * sizeof(uint32_t));
  • trunk/src/VBox/Main/src-client/UsbWebcamInterface.cpp

    r62370 r62372  
    215215        case VRDE_VIDEOIN_NOTIFY_ID_DETACH:
    216216        {
    217             VRDEVIDEOINNOTIFYDETACH *p = (VRDEVIDEOINNOTIFYDETACH *)pvData; NOREF(p);
     217            VRDEVIDEOINNOTIFYDETACH *p = (VRDEVIDEOINNOTIFYDETACH *)pvData;
    218218            Assert(cbData == sizeof(VRDEVIDEOINNOTIFYDETACH));
    219219
     
    272272                                 const VRDEVIDEOINCTRLHDR *pControl, uint32_t cbControl)
    273273{
    274     EMWEBCAMREMOTE *pRemote = (EMWEBCAMREMOTE *)pDeviceCtx; NOREF(pRemote);
     274    EMWEBCAMREMOTE *pRemote = (EMWEBCAMREMOTE *)pDeviceCtx;
    275275    Assert(pRemote == mpRemote);
    276276
  • trunk/src/VBox/Main/src-client/VMMDevInterface.cpp

    r62370 r62372  
    535535    PDRVMAINVMMDEV pDrv = RT_FROM_MEMBER(pInterface, DRVMAINVMMDEV, Connector);
    536536    Console *pConsole = pDrv->pVMMDev->getParent();
     537    BOOL           val = 0;
    537538
    538539    if (!pfPageFusionEnabled)
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