VirtualBox

Changeset 1634 in vbox


Ignore:
Timestamp:
Mar 22, 2007 5:17:03 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
19762
Message:

warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IOMAll.cpp

    r1361 r1634  
    662662IOMDECL(int) IOMIOPortReadString(PVM pVM, RTIOPORT Port, PRTGCPTR pGCPtrDst, PRTGCUINTREG pcTransfers, unsigned cb)
    663663{
     664#ifdef LOG_ENABLED
     665    const RTGCUINTREG cTransfers = *pcTransfers;
     666#endif
    664667#ifdef VBOX_WITH_STATISTICS
    665668    /*
    666669     * Get the statistics record.
    667670     */
    668     RTGCUINTREG     cTransfers = *pcTransfers;
    669671    PIOMIOPORTSTATS pStats = CTXALLSUFF(pVM->iom.s.pStatsLastRead);
    670672    if (!pStats || pStats->Core.Key != Port)
     
    897899IOMDECL(int) IOMIOPortWriteString(PVM pVM, RTIOPORT Port, PRTGCPTR pGCPtrSrc, PRTGCUINTREG pcTransfers, unsigned cb)
    898900{
     901#ifdef LOG_ENABLED
     902    const RTGCUINTREG cTransfers = *pcTransfers;
     903#endif
    899904#ifdef VBOX_WITH_STATISTICS
    900905    /*
    901906     * Get the statistics record.
    902907     */
    903     const RTGCUINTREG   cTransfers = *pcTransfers;
    904908    PIOMIOPORTSTATS     pStats = CTXALLSUFF(pVM->iom.s.pStatsLastWrite);
    905909    if (!pStats || pStats->Core.Key != Port)
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