VirtualBox

Changeset 62727 in vbox for trunk/src/VBox/Runtime/testcase


Ignore:
Timestamp:
Jul 30, 2016 12:20:48 AM (8 years ago)
Author:
vboxsync
Message:

IPRT/testcases: warnings

File:
1 edited

Legend:

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

    r62021 r62727  
    102102{
    103103#ifndef RT_STRICT /* Enable manually if assertions are enabled or it will assert all over the place for debug builds. */
     104/** @todo you can disable assertions and all the noise. See RTAssertSetMayPanic and RTAssertSetQuiet. */
    104105    if (   enmType != RTJSONVALTYPE_OBJECT
    105106        && enmType != RTJSONVALTYPE_ARRAY)
     
    139140        RTTEST_CHECK_RC(hTest, RTJsonValueQueryString(hJsonVal, &psz), VERR_JSON_VALUE_INVALID_TYPE);
    140141    }
     142#else
     143    RT_NOREF3(hTest, hJsonVal, enmType);
    141144#endif
    142145}
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