VirtualBox

Changeset 25254 in vbox


Ignore:
Timestamp:
Dec 8, 2009 6:28:25 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
55779
Message:

tstPDMAsyncCompletion.cpp: -Wshadow

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/tstPDMAsyncCompletion.cpp

    r23973 r25254  
    122122         * Create the temporary buffers.
    123123         */
    124         int i;
    125 
    126         for (i=0; i < NR_TASKS; i++)
     124        for (unsigned i=0; i < NR_TASKS; i++)
    127125        {
    128126            g_AsyncCompletionTasksBuffer[i] = (uint8_t *)RTMemAllocZ(BUFFER_SIZE);
     
    130128            {
    131129                RTPrintf(TESTCASE ": out of memory!\n");
    132                 rcRet++;
    133                 return rcRet;
     130                return ++rcRet;
    134131            }
    135132        }
     
    141138        {
    142139            RTPrintf(TESTCASE ": Error while creating the destination!! rc=%d\n", rc);
    143             return 1;
    144             rcRet++;
    145             return rcRet;
     140            return ++rcRet;
    146141        }
    147142        RTFileClose(FileTmp);
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