mirror of
https://github.com/json-c/json-c.git
synced 2026-03-28 17:39:07 +08:00
Issue #635: Fix "expression has no effect" warning in json_tokener.c by casting to void.
This commit is contained in:
@@ -646,7 +646,7 @@ struct json_object *json_tokener_parse_ex(struct json_tokener *tok, const char *
|
||||
if (tok->st_pos >= 4)
|
||||
break;
|
||||
|
||||
ADVANCE_CHAR(str, tok);
|
||||
(void)ADVANCE_CHAR(str, tok);
|
||||
if (!PEEK_CHAR(c, tok))
|
||||
{
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user