VirtualBox

Ignore:
Timestamp:
Aug 15, 2016 9:39:22 AM (8 years ago)
Author:
vboxsync
Message:

SUP: warnings

Location:
trunk/src/VBox/HostDrivers/Support
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/Makefile.kmk

    r62490 r63463  
    120120                "$(VBOX_PATH_SUPR3_CERTIFICATES)/$(lastword $(subst =,$(SP) ,$(cert)))" \
    121121                "$@")
     122        $(SED) -e "/const unsigned g_cb/d" --output "[email protected]" "$@"
     123        $(MV) -f -- "[email protected]" "$@"
    122124# The build certificate.
    123125if "$(KBUILD_TARGET)" == "win" && defined(VBOX_WITH_HARDENING) && defined(VBOX_SIGNING_MODE)
  • trunk/src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp

    r63402 r63463  
    14011401            }
    14021402#else
    1403             RT_NOREF(g_hStartupLog);
     1403            RT_NOREF(g_hStartupLog, g_cbStartupLog);
    14041404            //g_hStartupLog = open()
    14051405#endif
     
    18681868static void supR3GrabOptions(void)
    18691869{
    1870     const char *pszOpt;
    1871 
    18721870# ifdef RT_OS_LINUX
    18731871    g_uCaps = 0;
     
    18851883         * Can be disabled with 'export VBOX_HARD_CAP_NET_RAW=0'.
    18861884         */
    1887         pszOpt = getenv("VBOX_HARD_CAP_NET_RAW");
     1885        const char *pszOpt = getenv("VBOX_HARD_CAP_NET_RAW");
    18881886        if (   !pszOpt
    18891887            || memcmp(pszOpt, "0", sizeof("0")) != 0)
  • trunk/src/VBox/HostDrivers/Support/darwin/SUPLib-darwin.cpp

    r62490 r63463  
    187187int suplibOsInit(PSUPLIBDATA pThis, bool fPreInited, bool fUnrestricted, SUPINITOP *penmWhat, PRTERRINFO pErrInfo)
    188188{
     189    RT_NOREF(penmWhat, pErrInfo);
     190
    189191    /*
    190192     * Nothing to do if pre-inited.
     
    264266int suplibOsIOCtl(PSUPLIBDATA pThis, uintptr_t uFunction, void *pvReq, size_t cbReq)
    265267{
     268    RT_NOREF(cbReq);
    266269    if (RT_LIKELY(ioctl(pThis->hDevice, uFunction, pvReq) >= 0))
    267270        return VINF_SUCCESS;
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