diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2016-07-08 15:59:39 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-08 15:59:39 +0900 |
commit | 5ed5674fd5d9a4a55438065ae764259e4242f852 (patch) | |
tree | f5618c8b81aafa0577e9b05ed53b304305833e35 /ext | |
parent | 8782ae813513fbb5186f225bcf37785ffd26c22d (diff) | |
download | json-5ed5674fd5d9a4a55438065ae764259e4242f852.tar.gz |
Suppress a warning
Suppress a unused-but-set-variable warning by gcc.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/json/ext/generator/generator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/json/ext/generator/generator.c b/ext/json/ext/generator/generator.c index 2b56721..ef85bb7 100644 --- a/ext/json/ext/generator/generator.c +++ b/ext/json/ext/generator/generator.c @@ -951,6 +951,7 @@ static VALUE cState_generate(VALUE self, VALUE obj) { VALUE result = cState_partial_generate(self, obj); GET_STATE(self); + (void)state; return result; } |