VirtualBox

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


Ignore:
Timestamp:
Apr 14, 2010 6:34:20 PM (15 years ago)
Author:
vboxsync
Message:

DevE1000: gcc may be used uninitialized...

File:
1 edited

Legend:

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

    r28320 r28323  
    20012001static int e1kHandleRxPacket(E1KSTATE* pState, const void *pvBuf, size_t cb, E1KRXDST status)
    20022002{
    2003     E1KRXDESC desc;
    20042003    uint8_t   rxPacket[E1K_MAX_RX_PKT_SIZE];
    20052004    uint8_t  *ptr = rxPacket;
     
    20652064    {
    20662065        /* Load the desciptor pointed by head */
     2066        E1KRXDESC desc;
    20672067        PDMDevHlpPhysRead(pState->CTX_SUFF(pDevIns), e1kDescAddr(RDBAH, RDBAL, RDH),
    20682068                          &desc, sizeof(desc));
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