summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
Diffstat (limited to 'strings')
-rw-r--r--strings/json_lib.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/strings/json_lib.c b/strings/json_lib.c
index 213be62aa22..2a5d71a2133 100644
--- a/strings/json_lib.c
+++ b/strings/json_lib.c
@@ -1197,13 +1197,6 @@ int json_skip_to_level(json_engine_t *j, int level)
int json_skip_key(json_engine_t *j)
{
- if (j->state == JST_KEY)
- {
- while (json_read_keyname_chr(j) == 0);
- if (j->s.error)
- return 1;
- }
-
if (json_read_value(j))
return 1;