VirtualBox

Changeset 1186 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Mar 4, 2007 8:00:36 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
19103
Message:

removed unreachable code.

File:
1 edited

Legend:

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

    r1039 r1186  
    6666#define PDMINETWORKCONNECTOR_2_DRVNAT(pInterface)   ( (PDRVNAT)((uintptr_t)pInterface - RT_OFFSETOF(DRVNAT, INetworkConnector)) )
    6767
     68
    6869/*******************************************************************************
    6970*   Global Variables                                                           *
     
    220221
    221222    return pData->pPort->pfnCanReceive(pData->pPort);
    222 
    223     return 0;
    224223}
    225224
     
    399398     */
    400399    pData->pDrvIns                      = pDrvIns;
     400    pData->pNATState                    = NULL;
    401401    /* IBase */
    402402    pDrvIns->IBase.pfnQueryInterface    = drvNATQueryInterface;
     
    406406    pData->INetworkConnector.pfnNotifyLinkChanged  = drvNATNotifyLinkChanged;
    407407    pData->INetworkConnector.pfnNotifyCanReceive   = drvNATNotifyCanReceive;
    408 
    409     pData->pNATState                    = NULL;
    410408
    411409    /*
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