VirtualBox

Ignore:
Timestamp:
Jul 30, 2016 12:00:14 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109296
Message:

IPRT/testcases: warnings

File:
1 edited

Legend:

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

    r62477 r62722  
    10381038    do { \
    10391039        const char *pszRet = expr; \
    1040         if (   (pszRet != NULL && (expect) == NULL) \
    1041             || (pszRet == NULL && (expect) != NULL) \
    1042             || strcmp(pszRet, (expect)) \
     1040        const char *pszExpect = (expect); \
     1041        if (   (pszRet != NULL && pszExpect == NULL) \
     1042            || (pszRet == NULL && pszExpect != NULL) \
     1043            || strcmp(pszRet, pszExpect) \
    10431044            ) \
    1044             RTTestFailed(hTest, "%d: %#x -> %s expected %s", __LINE__, #expr, pszRet, (expect)); \
     1045            RTTestFailed(hTest, "%d: %#x -> %s expected %s", __LINE__, #expr, pszRet, pszExpect); \
    10451046    } while (0)
    10461047
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