VirtualBox

Changeset 49996 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Dec 24, 2013 2:05:37 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
91430
Message:

Runtime/uri.cpp: warning [-Wunsequenced]
char szNum[] = { pszString[iIn++], pszString[iIn++], '\0' };

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/uri.cpp

    r39447 r49996  
    133133             * digits describing the ASCII number of the character. */
    134134            ++iIn;
    135             char szNum[] = { pszString[iIn++], pszString[iIn++], '\0' };
     135            char szNum[3];
     136            szNum[0] = pszString[iIn++];
     137            szNum[1] = pszString[iIn++];
     138            szNum[2] = '\0';
     139           
    136140            uint8_t u8;
    137141            rc = RTStrToUInt8Ex(szNum, NULL, 16, &u8);
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