Skip to content

Commit c57fce8

Browse files
committed
fix: pl_json.h erroneous assert
1 parent 5fd0fb1 commit c57fce8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

libs/pl_json.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
*/
1414

1515
// library version (format XYYZZ)
16-
#define PL_JSON_VERSION "1.0.1"
17-
#define PL_JSON_VERSION_NUM 10001
16+
#define PL_JSON_VERSION "1.0.2"
17+
#define PL_JSON_VERSION_NUM 10002
1818

1919
/*
2020
Index of this file:
@@ -1133,7 +1133,6 @@ pl_json_member(plJsonObject* ptJson, const char* pcName)
11331133

11341134
if(ptMember)
11351135
{
1136-
PL_ASSERT(ptMember->tType == PL_JSON_TYPE_OBJECT);
11371136
if(ptMember->tType == PL_JSON_TYPE_OBJECT)
11381137
return ptMember;
11391138
}

0 commit comments

Comments
 (0)