VirtualBox

Ignore:
Timestamp:
Nov 26, 2009 2:22:44 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
55308
Message:

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

File:
1 edited

Legend:

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

    r20606 r25000  
    184184                if (s_aRTPathAbsExTests[i].pcszOutput[1] == 'p')
    185185                {
    186                     size_t cch = strlen(szTmp);
     186                    cch = strlen(szTmp);
    187187                    if (cch + strlen(s_aRTPathAbsExTests[i].pcszOutput) - 2 <= sizeof(szTmp))
    188188                        strcpy(szTmp + cch, s_aRTPathAbsExTests[i].pcszOutput + 2);
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