mirror of
https://github.com/json-c/json-c.git
synced 2026-04-12 00:39:06 +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)
|
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))
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user