Changeset 62372 in vbox
- Timestamp:
- Jul 20, 2016 5:25:41 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 108918
- Location:
- trunk/src/VBox
- Files:
-
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/AudioMixBuffer.cpp
r62370 r62372 61 61 #endif 62 62 63 #ifdef DEBUG64 63 DECLINLINE(void) audioMixBufDbgPrintInternal(PPDMAUDIOMIXBUF pMixBuf); 65 #endif66 64 67 65 /* … … 408 406 { \ 409 407 _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)); \ 411 409 AUDMIXBUF_MACRO_LOG(("cSamples=%RU32, BpS=%zu, lVol=%RU32, rVol=%RU32\n", \ 412 410 pOpts->cSamples, sizeof(_aType), pOpts->From.Volume.uLeft, pOpts->From.Volume.uRight)); \ … … 425 423 { \ 426 424 _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)); \ 428 426 AUDMIXBUF_MACRO_LOG(("cSamples=%RU32, BpS=%zu, lVol=%RU32, rVol=%RU32\n", \ 429 427 cSamples, sizeof(_aType), pOpts->From.Volume.uLeft, pOpts->From.Volume.uRight)); \ … … 571 569 \ 572 570 if (pcDstWritten) \ 573 *pcDstWritten = (uint32_t)(paDst - paDstStart); \571 *pcDstWritten = paDst - paDstStart; \ 574 572 if (pcSrcRead) \ 575 *pcSrcRead = (uint32_t)(paSrc - paSrcStart); \573 *pcSrcRead = paSrc - paSrcStart; \ 576 574 } 577 575 -
trunk/src/VBox/Devices/Audio/DrvAudioCommon.cpp
r62370 r62372 421 421 int rc = VINF_SUCCESS; 422 422 423 uint8_t cBits = 8; 424 int cShift = 0; 423 int cBits = 8, cShift = 0; 425 424 bool fSigned = false; 426 425 … … 457 456 pProps->cBits = cBits; 458 457 pProps->fSigned = fSigned; 459 pProps->cChannels = (uint8_t)pCfg->cChannels;458 pProps->cChannels = pCfg->cChannels; 460 459 pProps->cShift = (pCfg->cChannels == 2) + cShift; 461 460 pProps->uAlign = (1 << pProps->cShift) - 1; -
trunk/src/VBox/Main/include/GuestDnDPrivate.h
r62370 r62372 242 242 uint64_t addProcessed(uint32_t cbDataAdd) 243 243 { 244 const uint64_t cbTotal = getTotal(); NOREF(cbTotal);244 const uint64_t cbTotal = getTotal(); 245 245 Assert(cbProcessed + cbDataAdd <= cbTotal); 246 246 cbProcessed += cbDataAdd; -
trunk/src/VBox/Main/include/GuestSessionImpl.h
r62370 r62372 103 103 { 104 104 int vrc = SessionTaskOpen::taskThread(NULL, this); 105 NOREF(vrc);106 105 } 107 106 … … 138 137 { 139 138 int vrc = SessionTaskCopyTo::taskThread(NULL, this); 140 NOREF(vrc);141 139 } 142 140 … … 171 169 { 172 170 int vrc = SessionTaskCopyFrom::taskThread(NULL, this); 173 NOREF(vrc);174 171 } 175 172 … … 202 199 { 203 200 int vrc = SessionTaskUpdateAdditions::taskThread(NULL, this); 204 NOREF(vrc);205 201 } 206 202 -
trunk/src/VBox/Main/include/HGCMObjects.h
r62370 r62372 90 90 uint32_t Handle() 91 91 { 92 return (uint32_t)m_core.AvlCore.Key;92 return m_core.AvlCore.Key; 93 93 }; 94 94 -
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r62370 r62372 240 240 { 241 241 int vrc = Console::i_powerUpThread(NULL, this); 242 NOREF(vrc);243 242 } 244 243 … … 259 258 { 260 259 int vrc = Console::i_powerDownThread(NULL, this); 261 NOREF(vrc);262 260 } 263 261 }; … … 308 306 BOOL fRemove; 309 307 pNREv->COMGETTER(Remove)(&fRemove); 308 bool fUdp = (proto == NATProtocol_UDP); 310 309 Bstr hostIp, guestIp; 311 310 LONG hostPort, guestPort; … … 3910 3909 DeviceType_T lType; 3911 3910 PCFGMNODE pLunL0 = NULL; 3911 PCFGMNODE pCfg = NULL; 3912 3912 3913 3913 hrc = pMediumAtt->COMGETTER(Device)(&lDev); H(); … … 4818 4818 /* Remove keys which are supposed to be removed on a suspend. */ 4819 4819 int rc = m_pKeyStore->deleteAllSecretKeys(true /* fSuspend */, true /* fForce */); 4820 NOREF(rc);4821 4820 } 4822 4821 … … 7555 7554 7556 7555 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); 7558 7557 7559 7558 AssertMsg( mMachineState == MachineState_Running … … 8132 8131 8133 8132 pFolderName->u16Size = (uint16_t)cbString; 8134 pFolderName->u16Length = (uint16_t) (cbString - sizeof(RTUTF16));8133 pFolderName->u16Length = (uint16_t)cbString - sizeof(RTUTF16); 8135 8134 8136 8135 parms[0].type = VBOX_HGCM_SVC_PARM_PTR; … … 8149 8148 8150 8149 pMapName->u16Size = (uint16_t)cbString; 8151 pMapName->u16Length = (uint16_t) (cbString - sizeof(RTUTF16));8150 pMapName->u16Length = (uint16_t)cbString - sizeof(RTUTF16); 8152 8151 8153 8152 parms[1].type = VBOX_HGCM_SVC_PARM_PTR; … … 8212 8211 8213 8212 pMapName->u16Size = (uint16_t)cbString; 8214 pMapName->u16Length = (uint16_t) (cbString - sizeof(RTUTF16));8213 pMapName->u16Length = (uint16_t)cbString - sizeof(RTUTF16); 8215 8214 8216 8215 parms.type = VBOX_HGCM_SVC_PARM_PTR; … … 10283 10282 { 10284 10283 PDRVMAINSTATUS pThis = RT_FROM_MEMBER(pInterface, DRVMAINSTATUS, IMediaNotify); 10284 PPDMDRVINS pDrvIns = pThis->pDrvIns; 10285 10285 LogFunc(("uLUN=%d\n", uLUN)); 10286 10286 if (pThis->pmapMediumAttachments) -
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r62370 r62372 1702 1702 1703 1703 char szParamName[] = "BootDeviceX"; 1704 szParamName[sizeof(szParamName) - 2] = ( char)(pos - 1+ '0');1704 szParamName[sizeof(szParamName) - 2] = ((char (pos - 1)) + '0'); 1705 1705 1706 1706 const char *pszBootDevice; … … 2535 2535 for (uint32_t i = 0; i < 6; ++i) 2536 2536 { 2537 intc1 = *macStr++ - '0';2537 char c1 = *macStr++ - '0'; 2538 2538 if (c1 > 9) 2539 2539 c1 -= 7; 2540 intc2 = *macStr++ - '0';2540 char c2 = *macStr++ - '0'; 2541 2541 if (c2 > 9) 2542 2542 c2 -= 7; 2543 *pMac++ = ( char)(((c1 & 0x0f) << 4) | (c2 & 0x0f));2543 *pMac++ = ((c1 & 0x0f) << 4) | (c2 & 0x0f); 2544 2544 } 2545 2545 InsertConfigBytes(pCfg, "MAC", &Mac, sizeof(Mac)); … … 2598 2598 2599 2599 PCFGMNODE pNetBtDevCfg; 2600 achBootIdx[0] = (char)('0' + uBootIdx++); /* Boot device order. */2600 achBootIdx[0] = '0' + uBootIdx++; /* Boot device order. */ 2601 2601 InsertConfigNode(pNetBootCfg, achBootIdx, &pNetBtDevCfg); 2602 2602 InsertConfigInteger(pNetBtDevCfg, "NIC", it->mInstance); … … 4244 4244 try 4245 4245 { 4246 int rc = VINF_SUCCESS; 4246 4247 HRESULT hrc; 4247 4248 Bstr bstr; 4249 PCFGMNODE pLunL1 = NULL; 4248 4250 PCFGMNODE pCfg = NULL; 4249 4251 -
trunk/src/VBox/Main/src-client/ConsoleVRDPServer.cpp
r62370 r62372 2146 2146 pvContext, pvUser, hVideo, u32Id, pvData, cbData)); 2147 2147 2148 ConsoleVRDPServer *pServer = static_cast<ConsoleVRDPServer*>(pvContext); NOREF(pServer);2148 ConsoleVRDPServer *pServer = static_cast<ConsoleVRDPServer*>(pvContext); 2149 2149 H3DORInstance *p = (H3DORInstance *)pvUser; 2150 2150 Assert(p); … … 3693 3693 { 3694 3694 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; 3699 3699 if (mpEntryPoints && mhServer) 3700 3700 { -
trunk/src/VBox/Main/src-client/DisplayImpl.cpp
r62370 r62372 441 441 442 442 /* First block. */ 443 SSMR3PutU32(pSSM, (uint32_t)(cbThumbnail + 2 * sizeof(uint32_t)));443 SSMR3PutU32(pSSM, cbThumbnail + 2 * sizeof(uint32_t)); 444 444 SSMR3PutU32(pSSM, 0); /* Block type: thumbnail. */ 445 445 … … 452 452 453 453 /* Second block. */ 454 SSMR3PutU32(pSSM, (uint32_t)(cbPNG + 2 * sizeof(uint32_t)));454 SSMR3PutU32(pSSM, cbPNG + 2 * sizeof(uint32_t)); 455 455 SSMR3PutU32(pSSM, 1); /* Block type: png. */ 456 456 … … 469 469 Display::i_displaySSMLoadScreenshot(PSSMHANDLE pSSM, void *pvUser, uint32_t uVersion, uint32_t uPass) 470 470 { 471 Display *that = static_cast<Display*>(pvUser); 472 471 473 if (uVersion != sSSMDisplayScreenshotVer) 472 474 return VERR_SSM_UNSUPPORTED_DATA_UNIT_VERSION; … … 547 549 uint32_t cMonitors; 548 550 int rc = SSMR3GetU32(pSSM, &cMonitors); 549 NOREF(rc);550 551 if (cMonitors != that->mcMonitors) 551 552 return SSMR3SetCfgError(pSSM, RT_SRC_POS, N_("Number of monitors changed (%d->%d)!"), cMonitors, that->mcMonitors); … … 1372 1373 pCtl->aParms[0].type = VBOX_HGCM_SVC_PARM_PTR; 1373 1374 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); 1375 1376 1376 1377 rc = i_crCtlSubmit(&pCtl->Hdr, sizeof(*pCtl), i_displayCrCmdFree, pCtl); … … 3102 3103 { 3103 3104 /* No VBVA do a display update. */ 3105 DISPLAYFBINFO *pFBInfo = &pDisplay->maFramebuffers[VBOX_VIDEO_PRIMARY_SCREEN]; 3104 3106 pDrv->pUpPort->pfnUpdateDisplay(pDrv->pUpPort); 3105 3107 } … … 3113 3115 for (uScreenId = 0; uScreenId < pDisplay->mcMonitors; uScreenId++) 3114 3116 { 3117 DISPLAYFBINFO *pFBInfo = &pDisplay->maFramebuffers[uScreenId]; 3118 3115 3119 Assert(pDisplay->mParent && pDisplay->mParent->i_consoleVRDPServer()); 3116 3120 pDisplay->mParent->i_consoleVRDPServer()->SendUpdate(uScreenId, NULL, 0); … … 3286 3290 { 3287 3291 unsigned id = (unsigned)pCommand->iDisplay; 3292 int rc = VINF_SUCCESS; 3288 3293 if (id >= mcMonitors) 3289 3294 return VERR_INVALID_PARAMETER; … … 3581 3586 uGuestWidth, uGuestHeight, 3582 3587 pu8BufferAddress, u64TimeStamp); 3583 NOREF(rc);3584 3588 Assert(rc == VINF_SUCCESS /* || rc == VERR_TRY_AGAIN || rc == VINF_TRY_AGAIN*/); 3585 3589 # endif … … 3844 3848 PDRVMAINDISPLAY pDrv = PDMIDISPLAYCONNECTOR_2_MAINDISPLAY(pInterface); 3845 3849 Display *pThis = pDrv->pDisplay; 3850 DISPLAYFBINFO *pFBInfo = &pThis->maFramebuffers[uScreenId]; 3846 3851 3847 3852 if (ASMAtomicReadU32(&pThis->mu32UpdateVBVAFlags) > 0) … … 4153 4158 4154 4159 PDRVMAINDISPLAY pDrv = PDMIDISPLAYCONNECTOR_2_MAINDISPLAY(pInterface); 4160 Display *pThis = pDrv->pDisplay; 4155 4161 4156 4162 uint32_t cbShape = 0; -
trunk/src/VBox/Main/src-client/DisplayImplLegacy.cpp
r62370 r62372 718 718 phdr->h = (uint16_t)h; 719 719 720 DISPLAYFBINFO *pFBInfo = &maFramebuffers[uScreenId]; 721 720 722 /* Handle the command. 721 723 * -
trunk/src/VBox/Main/src-client/DrvAudioVRDE.cpp
r62370 r62372 498 498 VRDEAUDIOFORMAT audioFmt = pVRDEAudioBegin->fmt; 499 499 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); 504 504 505 505 LogFlowFunc(("cbSample=%RU32, iSampleHz=%d, cChannels=%d, cBits=%d, fUnsigned=%RTbool\n", -
trunk/src/VBox/Main/src-client/GuestDnDSourceImpl.cpp
r62370 r62372 87 87 { 88 88 int vrc = GuestDnDSource::i_receiveDataThread(*m_pThread, this); 89 NOREF(vrc);90 89 } 91 90 -
trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp
r62370 r62372 91 91 { 92 92 int vrc = GuestDnDTarget::i_sendDataThread(*m_pThread, this); 93 NOREF(vrc);94 93 } 95 94 -
trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp
r62370 r62372 93 93 { 94 94 int vrc = GuestSession::i_startSessionThread(NULL, this); 95 NOREF(vrc);96 95 } 97 96 }; … … 294 293 295 294 int rc = VINF_SUCCESS; 296 NOREF(rc);297 295 298 296 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); … … 1746 1744 LogFlowThisFuncEnter(); 1747 1745 1746 HRESULT hr = S_OK; 1748 1747 int vrc = VINF_SUCCESS; 1749 1748 … … 1762 1761 * worker thread. */ 1763 1762 //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 1766 1765 } 1767 1766 catch(std::bad_alloc &) -
trunk/src/VBox/Main/src-client/MachineDebuggerImpl.cpp
r62370 r62372 1313 1313 ssize_t cch = DBGFR3RegFormatValue(szHex, sizeof(szHex), &paRegs[iReg].Val, 1314 1314 paRegs[iReg].enmType, true /*fSpecial*/); 1315 NOREF(cch);1316 1315 Assert(cch > 0); 1317 1316 aNames[iReg] = Utf8Str(paRegs[iReg].pszName); -
trunk/src/VBox/Main/src-client/MouseImpl.cpp
r62370 r62372 1009 1009 if (fValid) 1010 1010 { 1011 uint8_t fu8 = (uint8_t)((fInContact? 0x01: 0x00)1012 | (fInRange? 0x02: 0x00));1011 uint8_t fu8 = (fInContact? 0x01: 0x00) 1012 | (fInRange? 0x02: 0x00); 1013 1013 pau64Contacts[cContacts] = RT_MAKE_U64_FROM_U16((uint16_t)xAdj, 1014 1014 (uint16_t)yAdj, -
trunk/src/VBox/Main/src-client/PCIRawDevImpl.cpp
r62370 r62372 78 78 ComPtr<IVirtualBox> vbox; 79 79 80 HRESULT hrc = machine->COMGETTER(Parent)(vbox.asOutParam()); NOREF(hrc);80 HRESULT hrc = machine->COMGETTER(Parent)(vbox.asOutParam()); 81 81 Assert(SUCCEEDED(hrc)); 82 82 … … 98 98 msg = BstrFmt("runtime error %Rrc", rc); 99 99 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()); 101 101 102 102 return VINF_SUCCESS; -
trunk/src/VBox/Main/src-client/RemoteUSBDeviceImpl.cpp
r62370 r62372 79 79 80 80 unconst(mData.port) = pDevDesc->idPort; 81 unconst(mData.version) = (uint16_t)(pDevDesc->bcdUSB >> 8);81 unconst(mData.version) = pDevDesc->bcdUSB >> 8; 82 82 if (fDescExt) 83 83 { … … 117 117 118 118 mData.dirty = false; 119 unconst(mData.devId) = (uint16_t)pDevDesc->id;119 unconst(mData.devId) = pDevDesc->id; 120 120 121 121 unconst(mData.clientId) = u32ClientId; -
trunk/src/VBox/Main/src-client/UsbCardReader.cpp
r62370 r62372 432 432 LogFlowFunc(("ENTER: pvUser:%p\n", 433 433 pvUser)); 434 PUSBCARDREADER pThis = RT_FROM_MEMBER(pInterface, USBCARDREADER, ICardReaderDown); NOREF(pThis);434 PUSBCARDREADER pThis = RT_FROM_MEMBER(pInterface, USBCARDREADER, ICardReaderDown); 435 435 int rc = VERR_NOT_SUPPORTED; 436 436 AssertRC(rc); … … 446 446 LogFlowFunc(("ENTER: pvUser:%p, u32Disposition:%RX32\n", 447 447 pvUser, u32Disposition)); 448 PUSBCARDREADER pThis = RT_FROM_MEMBER(pInterface, USBCARDREADER, ICardReaderDown); NOREF(pThis);448 PUSBCARDREADER pThis = RT_FROM_MEMBER(pInterface, USBCARDREADER, ICardReaderDown); 449 449 int rc = VERR_NOT_SUPPORTED; 450 450 AssertRC(rc); … … 745 745 case VRDE_SCARD_NOTIFY_DETACH: 746 746 { 747 VRDESCARDNOTIFYDETACH *p = (VRDESCARDNOTIFYDETACH *)pvData; NOREF(p);747 VRDESCARDNOTIFYDETACH *p = (VRDESCARDNOTIFYDETACH *)pvData; 748 748 Assert(cbData == sizeof(VRDESCARDNOTIFYDETACH)); 749 749 … … 831 831 { 832 832 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; 835 835 836 836 Assert(pCtx->u32Function == u32Function); … … 903 903 { 904 904 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; 907 907 908 908 Assert(pCtx->u32Function == u32Function); … … 953 953 { 954 954 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; 957 957 958 958 Assert(pCtx->u32Function == u32Function); … … 994 994 { 995 995 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; 998 998 999 999 Assert(pCtx->u32Function == u32Function); … … 1005 1005 { 1006 1006 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; 1009 1009 1010 1010 Assert(pCtx->u32Function == u32Function); … … 1016 1016 { 1017 1017 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; 1020 1020 1021 1021 Assert(pCtx->u32Function == u32Function); … … 1578 1578 req.ioSendPci.u32Protocol = pioSendRequest->u32Protocol; 1579 1579 req.ioSendPci.u32PciLength = pioSendRequest->cbPciLength < 2 * sizeof(uint32_t)? 1580 (uint32_t)(2 * sizeof(uint32_t)):1580 2 * sizeof(uint32_t): 1581 1581 pioSendRequest->cbPciLength; 1582 1582 Assert(pioSendRequest->cbPciLength <= VRDE_SCARD_MAX_PCI_DATA + 2 * sizeof(uint32_t)); -
trunk/src/VBox/Main/src-client/UsbWebcamInterface.cpp
r62370 r62372 215 215 case VRDE_VIDEOIN_NOTIFY_ID_DETACH: 216 216 { 217 VRDEVIDEOINNOTIFYDETACH *p = (VRDEVIDEOINNOTIFYDETACH *)pvData; NOREF(p);217 VRDEVIDEOINNOTIFYDETACH *p = (VRDEVIDEOINNOTIFYDETACH *)pvData; 218 218 Assert(cbData == sizeof(VRDEVIDEOINNOTIFYDETACH)); 219 219 … … 272 272 const VRDEVIDEOINCTRLHDR *pControl, uint32_t cbControl) 273 273 { 274 EMWEBCAMREMOTE *pRemote = (EMWEBCAMREMOTE *)pDeviceCtx; NOREF(pRemote);274 EMWEBCAMREMOTE *pRemote = (EMWEBCAMREMOTE *)pDeviceCtx; 275 275 Assert(pRemote == mpRemote); 276 276 -
trunk/src/VBox/Main/src-client/VMMDevInterface.cpp
r62370 r62372 535 535 PDRVMAINVMMDEV pDrv = RT_FROM_MEMBER(pInterface, DRVMAINVMMDEV, Connector); 536 536 Console *pConsole = pDrv->pVMMDev->getParent(); 537 BOOL val = 0; 537 538 538 539 if (!pfPageFusionEnabled)
Note:
See TracChangeset
for help on using the changeset viewer.