VirtualBox

儲存庫 vbox 的更動 63214


忽略:
時間撮記:
2016-8-9 下午02:59:08 (8 年 以前)
作者:
vboxsync
訊息:

Devices: warnings (gcc)

位置:
trunk/src/VBox/Devices
檔案:
修改 3 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Devices/Audio/DrvHostALSAAudio.cpp

    r62463 r63214  
    889889{
    890890    /** @todo Implement me! */
     891    RT_NOREF(file, line, function, err, fmt);
    891892}
    892893#endif
     
    15851586static DECLCALLBACK(PDMAUDIOBACKENDSTS) drvHostALSAAudioGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir)
    15861587{
     1588    RT_NOREF(enmDir);
    15871589    AssertPtrReturn(pInterface, PDMAUDIOBACKENDSTS_UNKNOWN);
    15881590
     
    16981700static DECLCALLBACK(int) drvHostAlsaAudioConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags)
    16991701{
     1702    RT_NOREF(pCfg, fFlags);
     1703    PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns);
    17001704    PDRVHOSTALSAAUDIO pThis = PDMINS_2_DATA(pDrvIns, PDRVHOSTALSAAUDIO);
    17011705    LogRel(("Audio: Initializing ALSA driver\n"));
     
    17641768};
    17651769
     1770#if 0 /* unused */
    17661771static struct audio_option alsa_options[] =
    17671772{
     
    17891794     "ADC device name", NULL, 0}
    17901795};
    1791 
     1796#endif
  • trunk/src/VBox/Devices/Audio/DrvHostPulseAudio.cpp

    r62463 r63214  
    792792                 cbToRead, cbAvail, pStrm->offPeekBuf, pStrm->cbPeekBuf));
    793793
    794     size_t   offWrite      = 0;
    795794    uint32_t cWrittenTotal = 0;
    796795
     
    13491348static DECLCALLBACK(PDMAUDIOBACKENDSTS) drvHostPulseAudioGetStatus(PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir)
    13501349{
     1350    RT_NOREF(enmDir);
    13511351    AssertPtrReturn(pInterface, PDMAUDIOBACKENDSTS_UNKNOWN);
    13521352
     
    14251425    pa_threaded_mainloop_lock(pThis->pMainLoop);
    14261426
    1427     pa_context_state_t ctxState = pa_context_get_state(pThis->pContext);
     1427    /*pa_context_state_t ctxState = pa_context_get_state(pThis->pContext); - unused */
    14281428
    14291429    if (   pa_context_get_state(pThis->pContext) == PA_CONTEXT_READY
     
    14531453    AssertPtrReturn(pInterface, VERR_INVALID_POINTER);
    14541454    AssertPtrReturn(pStream,    VERR_INVALID_POINTER);
    1455 
    1456     PDRVHOSTPULSEAUDIO pThis = PDMIHOSTAUDIO_2_DRVHOSTPULSEAUDIO(pInterface);
    1457     PPULSEAUDIOSTREAM  pStrm = (PPULSEAUDIOSTREAM)pStream;
    1458 
    14591455    LogFlowFuncEnter();
    14601456
     
    14781474    return NULL;
    14791475}
     1476
     1477
     1478/**
     1479 * Destructs a PulseAudio Audio driver instance.
     1480 *
     1481 * @copydoc FNPDMDRVCONSTRUCT
     1482 */
     1483static DECLCALLBACK(void) drvHostPulseAudioDestruct(PPDMDRVINS pDrvIns)
     1484{
     1485    PDMDRV_CHECK_VERSIONS_RETURN_VOID(pDrvIns);
     1486    LogFlowFuncEnter();
     1487}
     1488
    14801489
    14811490/**
     
    14861495static DECLCALLBACK(int) drvHostPulseAudioConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags)
    14871496{
     1497    RT_NOREF(pCfg, fFlags);
     1498    PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns);
    14881499    AssertPtrReturn(pDrvIns, VERR_INVALID_POINTER);
    14891500
     
    15001511}
    15011512
     1513
    15021514/**
    1503  * Destructs a PulseAudio Audio driver instance.
    1504  *
    1505  * @copydoc FNPDMDRVCONSTRUCT
    1506  */
    1507 static DECLCALLBACK(void) drvHostPulseAudioDestruct(PPDMDRVINS pDrvIns)
    1508 {
    1509     PDRVHOSTPULSEAUDIO pThis = PDMINS_2_DATA(pDrvIns, PDRVHOSTPULSEAUDIO);
    1510     LogFlowFuncEnter();
    1511 }
    1512 
    1513 /**
    1514  * Char driver registration record.
     1515 * Pulse audio driver registration record.
    15151516 */
    15161517const PDMDRVREG g_DrvHostPulseAudio =
     
    15621563};
    15631564
     1565#if 0 /* unused */
    15641566static struct audio_option pulse_options[] =
    15651567{
     
    15691571     "ADC period size in milliseconds", NULL, 0}
    15701572};
    1571 
     1573#endif
     1574
  • trunk/src/VBox/Devices/Network/DrvNAT.cpp

    r62985 r63214  
    10821082
    10831083
     1084#if HAVE_NOTIFICATION_FOR_DNS_UPDATE && !defined(RT_OS_DARWIN)
    10841085/**
    10851086 * @interface_method_impl{PDMINETWORKNATCONFIG,pfnNotifyDnsChanged}
     
    10941095    drvNATUpdateDNS(pThis, /* fFlapLink */ true);
    10951096}
    1096 
     1097#endif
    10971098
    10981099#ifdef RT_OS_DARWIN
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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