VirtualBox

Ignore:
Timestamp:
Aug 10, 2016 2:31:08 PM (8 years ago)
Author:
vboxsync
Message:

NetworkServices: warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NAT/pxudp.c

    r62481 r63277  
    599599         * valid for SOCK_RAW.
    600600         */
    601 #     define USE_DF_OPTION(_Optname)                    \
    602         const int dfopt = _Optname;                     \
    603         const char * const dfoptname = #_Optname;
     601#     define USE_DF_OPTION(_Optname) \
     602            const int dfopt = _Optname; \
     603            const char * const dfoptname = #_Optname; \
     604            RT_NOREF_PV(dfoptname)
    604605#if   defined(IP_MTU_DISCOVER)  /* Linux */
    605606        USE_DF_OPTION(IP_MTU_DISCOVER);
     
    759760    }
    760761
     762#ifdef RT_OS_WINDOWS
     763    nread = recv(pxudp->sock, (char *)pollmgr_udpbuf, sizeof(pollmgr_udpbuf), 0);
     764#else
    761765    nread = recv(pxudp->sock, pollmgr_udpbuf, sizeof(pollmgr_udpbuf), 0);
     766#endif
    762767    if (nread == SOCKET_ERROR) {
    763768        DPRINTF(("%s: %R[sockerr]\n", __func__, SOCKERRNO()));
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