VirtualBox

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


Ignore:
Timestamp:
May 29, 2007 11:44:56 AM (18 years ago)
Author:
vboxsync
Message:

mixing initialized and uninitalized vars makes it harder to read.

File:
1 edited

Legend:

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

    r2910 r2912  
    16721672        {
    16731673            uint8_t *src = &pData->abRecvBuf[8];
    1674             RTGCPHYS next_crda, crda = CSR_CRDA(pData);
     1674            RTGCPHYS crda = CSR_CRDA(pData);
     1675            RTGCPHYS next_crda;
    16751676            RMD      rmd, next_rmd;
    16761677            int      pktcount = 0;
     
    17231724                if (!next_rmd.rmd1.own)
    17241725                    break;
    1725                
     1726
    17261727                /* Write back current descriptor, clear the own bit. */
    17271728                pcnetRmdStorePassHost(pData, &rmd, PHYSADDR(pData, crda));
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