VirtualBox

Ignore:
Timestamp:
Nov 26, 2009 2:22:44 PM (15 years ago)
Author:
vboxsync
Message:

IPRT: Fixed -Wshadow warnings, found two bugs in error paths.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstTimerLR.cpp

    r14831 r25000  
    160160         * Start the timer an actively wait for it for the period requested.
    161161         */
    162         uint64_t uTSBegin = RTTimeNanoTS();
     162        uTSBegin = RTTimeNanoTS();
    163163        rc = RTTimerLRStart(hTimerLR, 0);
    164164        if (RT_FAILURE(rc))
     
    180180
    181181        uint64_t uTSEnd = RTTimeNanoTS();
    182         uint64_t uTSDiff = uTSEnd - uTSBegin;
     182        uTSDiff = uTSEnd - uTSBegin;
    183183        RTPrintf("uTS=%RI64 (%RU64 - %RU64)\n", uTSDiff, uTSBegin, uTSEnd);
    184184
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