VirtualBox

Changeset 63211 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Aug 9, 2016 2:47:23 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109838
Message:

Devices: warnings (gcc)

Location:
trunk/src/VBox/Devices/Network
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DevINIP.cpp

    r62961 r63211  
    143143
    144144
    145 /*********************************************************************************************************************************
    146 *   Internal Functions                                                                                                           *
    147 *********************************************************************************************************************************/
    148 static err_t devINIPOutput(struct netif *netif, struct pbuf *p, struct ip_addr *ipaddr);
    149 static err_t devINIPOutputRaw(struct netif *netif, struct pbuf *p);
    150 static err_t devINIPInterface(struct netif *netif);
    151 
    152 
     145#if 0 /* unused */
    153146/**
    154147 * Output a TCP/IP packet on the interface. Uses the generic lwIP ARP
     
    171164    return lrc;
    172165}
     166#endif
    173167
    174168/**
  • trunk/src/VBox/Devices/Network/DrvDedicatedNic.cpp

    r62906 r63211  
    174174
    175175
     176#if 0 /* currently unused */
     177
    176178/* -=-=-=-=- PDMINETWORKUP -=-=-=-=- */
    177179
     
    391393    return NULL;
    392394}
     395
     396#endif /* Currently unused */
    393397
    394398
  • trunk/src/VBox/Devices/Network/DrvVDE.cpp

    r62511 r63211  
    120120static DECLCALLBACK(int) drvVDENetworkUp_BeginXmit(PPDMINETWORKUP pInterface, bool fOnWorkerThread)
    121121{
     122    RT_NOREF(fOnWorkerThread);
    122123    PDRVVDE pThis = PDMINETWORKUP_2_DRVVDE(pInterface);
    123124    int rc = RTCritSectTryEnter(&pThis->XmitLock);
     
    199200static DECLCALLBACK(int) drvVDENetworkUp_SendBuf(PPDMINETWORKUP pInterface, PPDMSCATTERGATHER pSgBuf, bool fOnWorkerThread)
    200201{
     202    RT_NOREF(fOnWorkerThread);
    201203    PDRVVDE pThis = PDMINETWORKUP_2_DRVVDE(pInterface);
    202204    STAM_COUNTER_INC(&pThis->StatPktSent);
     
    274276static DECLCALLBACK(void) drvVDENetworkUp_SetPromiscuousMode(PPDMINETWORKUP pInterface, bool fPromiscuous)
    275277{
     278    RT_NOREF(pInterface, fPromiscuous);
    276279    LogFlow(("drvVDESetPromiscuousMode: fPromiscuous=%d\n", fPromiscuous));
    277280    /* nothing to do */
     
    288291static DECLCALLBACK(void) drvVDENetworkUp_NotifyLinkChanged(PPDMINETWORKUP pInterface, PDMNETWORKLINKSTATE enmLinkState)
    289292{
     293    RT_NOREF(pInterface, enmLinkState);
    290294    LogFlow(("drvNATNetworkUp_NotifyLinkChanged: enmLinkState=%d\n", enmLinkState));
    291295    /** @todo take action on link down and up. Stop the polling and such like. */
     
    438442static DECLCALLBACK(int) drvVDEAsyncIoWakeup(PPDMDRVINS pDrvIns, PPDMTHREAD pThread)
    439443{
     444    RT_NOREF(pThread);
    440445    PDRVVDE pThis = PDMINS_2_DATA(pDrvIns, PDRVVDE);
    441446
     
    529534static DECLCALLBACK(int) drvVDEConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags)
    530535{
     536    RT_NOREF(fFlags);
     537    PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns);
    531538    PDRVVDE pThis = PDMINS_2_DATA(pDrvIns, PDRVVDE);
    532     PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns);
    533539
    534540    /*
Note: See TracChangeset for help on using the changeset viewer.

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