VirtualBox

Changeset 107743 in vbox


Ignore:
Timestamp:
Jan 14, 2025 9:52:54 AM (2 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
166851
Message:

src/VBox/Runtime/testcase/tstUtf8.cpp: Fixed warnings found by Parfait (unused assignment). jiraref:VBP-1424

File:
1 edited

Legend:

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

    r106061 r107743  
    12091209    size_t cbShort = RTStrCalcLatin1Len(g_szAll);
    12101210    RTTEST_CHECK(hTest, cbShort == 0);
    1211     int rc = RTStrCalcLatin1LenEx(g_szAll, 383, &cch_szAll);
     1211    RTStrCalcLatin1LenEx(g_szAll, 383, &cch_szAll);
    12121212    RTTEST_CHECK(hTest, (cch_szAll == 255));
    1213     rc = RTStrCalcLatin1LenEx(g_szAll, RTSTR_MAX, &cch_szAll);
     1213    int rc = RTStrCalcLatin1LenEx(g_szAll, RTSTR_MAX, &cch_szAll);
    12141214    RTTEST_CHECK_RC(hTest, rc, VERR_NO_TRANSLATION);
    12151215    char *psz = NULL;
     
    13441344    size_t cbShort = RTUtf16CalcLatin1Len(g_wszAll);
    13451345    RTTEST_CHECK(hTest, cbShort == 0);
    1346     int rc = RTUtf16CalcLatin1LenEx(g_wszAll, 255, &cch_szAll);
     1346    RTUtf16CalcLatin1LenEx(g_wszAll, 255, &cch_szAll);
    13471347    RTTEST_CHECK(hTest, (cch_szAll == 255));
    1348     rc = RTUtf16CalcLatin1LenEx(g_wszAll, RTSTR_MAX, &cch_szAll);
     1348    int rc = RTUtf16CalcLatin1LenEx(g_wszAll, RTSTR_MAX, &cch_szAll);
    13491349    RTTEST_CHECK_RC(hTest, rc, VERR_NO_TRANSLATION);
    13501350    char *psz = NULL;
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