Browse Source

Issue #635: Fix "expression has no effect" warning in json_tokener.c by casting to void.

tags/json-c-0.15-20200726
Eric Haszlakiewicz 5 years ago
parent
commit
84e6032883
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      json_tokener.c

+ 1
- 1
json_tokener.c View File

@@ -646,7 +646,7 @@ struct json_object *json_tokener_parse_ex(struct json_tokener *tok, const char *
if (tok->st_pos >= 4) if (tok->st_pos >= 4)
break; break;


ADVANCE_CHAR(str, tok);
(void)ADVANCE_CHAR(str, tok);
if (!PEEK_CHAR(c, tok)) if (!PEEK_CHAR(c, tok))
{ {
/* /*


Loading…
Cancel
Save