VirtualBox

忽略:
時間撮記:
2016-8-4 上午07:54:03 (8 年 以前)
作者:
vboxsync
訊息:

Devices: warnings

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Devices/USB/DrvVUSBRootHub.cpp

    r62956 r62958  
    287287static DECLCALLBACK(int) vusbPDMHubDetachDevice(PPDMDRVINS pDrvIns, PPDMUSBINS pUsbIns, uint32_t iPort)
    288288{
     289    RT_NOREF(pDrvIns, iPort);
    289290    PVUSBDEV pDev = (PVUSBDEV)pUsbIns->pvVUsbDev2;
    290291    Assert(pDev);
     
    392393                             VUSBDIRECTION enmDir, uint32_t cbData, uint32_t cTds, const char *pszTag)
    393394{
     395    RT_NOREF(pszTag);
    394396    PVUSBURBPOOL pUrbPool = &pRh->Hub.Dev.UrbPool;
    395397
     
    564566static DECLCALLBACK(int) vusbRhR3PeriodFrameWorker(PPDMDRVINS pDrvIns, PPDMTHREAD pThread)
    565567{
     568    RT_NOREF(pDrvIns);
    566569    int rc = VINF_SUCCESS;
    567570    PVUSBROOTHUB pThis = (PVUSBROOTHUB)pThread->pvUser;
     
    619622static DECLCALLBACK(int) vusbRhR3PeriodFrameWorkerWakeup(PPDMDRVINS pDrvIns, PPDMTHREAD pThread)
    620623{
     624    RT_NOREF(pThread);
    621625    PVUSBROOTHUB pThis = PDMINS_2_DATA(pDrvIns, PVUSBROOTHUB);
    622626    return RTSemEventMultiSignal(pThis->hSemEventPeriodFrame);
     
    648652static DECLCALLBACK(int) vusbRhConnFreeUrb(PVUSBIROOTHUBCONNECTOR pInterface, PVUSBURB pUrb)
    649653{
    650     PVUSBROOTHUB pRh = VUSBIROOTHUBCONNECTOR_2_VUSBROOTHUB(pInterface);
    651 
     654    RT_NOREF(pInterface);
    652655    pUrb->pVUsb->pfnFree(pUrb);
    653656    return VINF_SUCCESS;
     
    768771static DECLCALLBACK(void) vusbRhReapAsyncUrbs(PVUSBIROOTHUBCONNECTOR pInterface, PVUSBIDEVICE pDevice, RTMSINTERVAL cMillies)
    769772{
    770     PVUSBROOTHUB pRh = VUSBIROOTHUBCONNECTOR_2_VUSBROOTHUB(pInterface);
     773    PVUSBROOTHUB pRh = VUSBIROOTHUBCONNECTOR_2_VUSBROOTHUB(pInterface); NOREF(pRh);
    771774    PVUSBDEV pDev = (PVUSBDEV)pDevice;
    772775
     
    994997 * @interface_method_impl{VUSBIDEVICE,pfnReset}
    995998 */
    996 static DECLCALLBACK(int) vusbRhDevReset(PVUSBIDEVICE pInterface, bool fResetOnLinux, PFNVUSBRESETDONE pfnDone, void *pvUser, PVM pVM)
    997 {
     999static DECLCALLBACK(int) vusbRhDevReset(PVUSBIDEVICE pInterface, bool fResetOnLinux,
     1000                                        PFNVUSBRESETDONE pfnDone, void *pvUser, PVM pVM)
     1001{
     1002    RT_NOREF(pfnDone, pvUser, pVM);
    9981003    PVUSBROOTHUB pRh = RT_FROM_MEMBER(pInterface, VUSBROOTHUB, Hub.Dev.IDevice);
    9991004    Assert(!pfnDone);
     
    12231228static DECLCALLBACK(int) vusbRhConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags)
    12241229{
     1230    RT_NOREF(fFlags);
     1231    PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns);
    12251232    LogFlow(("vusbRhConstruct: Instance %d\n", pDrvIns->iInstance));
    12261233    PVUSBROOTHUB pThis = PDMINS_2_DATA(pDrvIns, PVUSBROOTHUB);
    1227     PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns);
    12281234
    12291235    /*
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette