summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Frank <flori@ping.de>2012-12-13 02:11:59 -0800
committerFlorian Frank <flori@ping.de>2012-12-13 02:11:59 -0800
commitb24ea03d2dbdb20e676eb40d03042bea2dbd80be (patch)
treeda76e61954f7045aa12e179ef05ba6ee4d24f871
parentb26c98e1996cf84fdbb4f12a1fd7c79e6f8eeb72 (diff)
parente5e7d407e6466e8e98ab1e43958df10e74272052 (diff)
downloadjson-b24ea03d2dbdb20e676eb40d03042bea2dbd80be.tar.gz
Merge pull request #153 from shugo/master
Remove unused variable
-rw-r--r--ext/json/ext/generator/generator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/json/ext/generator/generator.c b/ext/json/ext/generator/generator.c
index 17f5508..e64ea50 100644
--- a/ext/json/ext/generator/generator.c
+++ b/ext/json/ext/generator/generator.c
@@ -629,7 +629,6 @@ static VALUE cState_to_h(VALUE self)
*/
static VALUE cState_aref(VALUE self, VALUE name)
{
- GET_STATE(self);
if (RTEST(rb_funcall(self, i_respond_to_p, 1, name))) {
return rb_funcall(self, i_send, 1, name);
} else {