Fix warning when NDEBUG is defined [-Wunused-variable]
Because `isPeek()` is side effect free this should not change anything. The reason this warning is not shown in the unit tests is because the asserts are always evaluated in the unit test: #define RAPIDJSON_ASSERT(x) (!(x) ? throw AssertException(RAPIDJSON_STRINGIFY(x)) : (void)0u)
Showing
Please
register
or
sign in
to comment