fix compile warnning using cmake (#1132)

This commit is contained in:
Chen 2020-01-20 17:12:35 +08:00 committed by GitHub
parent 6bc55ec35d
commit 6317f9a406
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3309,15 +3309,15 @@ JSONTEST_FIXTURE_LOCAL(CharReaderAllowDropNullTest, issue178) {
{__LINE__, R"({"a":,"b":true})", 2, objGetAnd("a", checkEq(nullValue))}, {__LINE__, R"({"a":,"b":true})", 2, objGetAnd("a", checkEq(nullValue))},
{__LINE__, R"({"a":})", 1, objGetAnd("a", checkEq(nullValue))}, {__LINE__, R"({"a":})", 1, objGetAnd("a", checkEq(nullValue))},
{__LINE__, "[]", 0, checkEq(emptyArray)}, {__LINE__, "[]", 0, checkEq(emptyArray)},
{__LINE__, "[null]", 1}, {__LINE__, "[null]", 1, nullptr},
{__LINE__, "[,]", 2}, {__LINE__, "[,]", 2, nullptr},
{__LINE__, "[,,,]", 4}, {__LINE__, "[,,,]", 4, nullptr},
{__LINE__, "[null,]", 2}, {__LINE__, "[null,]", 2, nullptr},
{__LINE__, "[,null]", 2}, {__LINE__, "[,null]", 2, nullptr},
{__LINE__, "[,,]", 3}, {__LINE__, "[,,]", 3, nullptr},
{__LINE__, "[null,,]", 3}, {__LINE__, "[null,,]", 3, nullptr},
{__LINE__, "[,null,]", 3}, {__LINE__, "[,null,]", 3, nullptr},
{__LINE__, "[,,null]", 3}, {__LINE__, "[,,null]", 3, nullptr},
{__LINE__, "[[],,,]", 4, arrGetAnd(0, checkEq(emptyArray))}, {__LINE__, "[[],,,]", 4, arrGetAnd(0, checkEq(emptyArray))},
{__LINE__, "[,[],,]", 4, arrGetAnd(1, checkEq(emptyArray))}, {__LINE__, "[,[],,]", 4, arrGetAnd(1, checkEq(emptyArray))},
{__LINE__, "[,,,[]]", 4, arrGetAnd(3, checkEq(emptyArray))}, {__LINE__, "[,,,[]]", 4, arrGetAnd(3, checkEq(emptyArray))},