VirtualBox

Changeset 49062 in vbox for trunk/src/VBox/NetworkServices


Ignore:
Timestamp:
Oct 12, 2013 6:17:18 AM (11 years ago)
Author:
vboxsync
Message:

VBoxNetDHCP.cpp: warnings [-Wunused-parameter].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/DHCP/VBoxNetDHCP.cpp

    r48956 r49062  
    801801 * @param   cb          The message size.
    802802 */
    803 bool VBoxNetDhcp::handleDhcpReqDecline(PCRTNETBOOTP pDhcpMsg, size_t cb)
     803bool VBoxNetDhcp::handleDhcpReqDecline(PCRTNETBOOTP, size_t)
    804804{
    805805    /** @todo Probably need to match the server IP here to work correctly with
     
    826826 * @param   cb          The message size.
    827827 */
    828 bool VBoxNetDhcp::handleDhcpReqRelease(PCRTNETBOOTP pDhcpMsg, size_t cb)
     828bool VBoxNetDhcp::handleDhcpReqRelease(PCRTNETBOOTP, size_t)
    829829{
    830830    /** @todo Probably need to match the server IP here to work correctly with
     
    932932 *  Entry point.
    933933 */
    934 extern "C" DECLEXPORT(int) TrustedMain(int argc, char **argv, char **envp)
     934extern "C" DECLEXPORT(int) TrustedMain(int argc, char **argv)
    935935{
    936936    /*
     
    976976#ifndef VBOX_WITH_HARDENING
    977977
    978 int main(int argc, char **argv, char **envp)
     978int main(int argc, char **argv)
    979979{
    980980    int rc = RTR3InitExe(argc, &argv, RTR3INIT_FLAGS_SUPLIB);
     
    982982        return RTMsgInitFailure(rc);
    983983
    984     return TrustedMain(argc, argv, envp);
     984    return TrustedMain(argc, argv);
    985985}
    986986
     
    10791079        CloseHandle(hThread);
    10801080
    1081     return main(__argc, __argv, environ);
     1081    return main(__argc, __argv);
    10821082}
    10831083# endif /* RT_OS_WINDOWS */
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