summaryrefslogtreecommitdiff
path: root/ext/json
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-25 01:51:06 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-25 01:51:06 +0000
commit514a5b3b7150dcaa78fee45676742c1be4f69804 (patch)
tree3044093da3363f994051b59da1c542c1677b0db5 /ext/json
parentd0598d27ff78a1bb56fa5b840b55e6ab306ead44 (diff)
* ext/json/generator/generator.c (fbuffer_free): unused.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/json')
-rw-r--r--ext/json/generator/generator.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/json/generator/generator.c b/ext/json/generator/generator.c
index 6505882..fac7abb 100644
--- a/ext/json/generator/generator.c
+++ b/ext/json/generator/generator.c
@@ -318,11 +318,6 @@ static void fbuffer_free(FBuffer *fb)
ruby_xfree(fb);
}
-static void fbuffer_free_only_buffer(FBuffer *fb)
-{
- ruby_xfree(fb);
-}
-
static void fbuffer_clear(FBuffer *fb)
{
fb->len = 0;