summaryrefslogtreecommitdiff
path: root/ext/json
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-25 01:51:06 +0000
committerNobuyoshi Nakada <nobu@ruby-lang.org>2011-07-07 12:12:03 +0900
commitb7878175cc34275c4a2b47236c36853a2760bf0d (patch)
treebc8f6a1202d44486f48a054a0df6b28b27d856af /ext/json
parent7159be5a7cea4c2c070e221f0145b97bc5f92a55 (diff)
downloadjson-b7878175cc34275c4a2b47236c36853a2760bf0d.tar.gz
* ext/json/generator/ext/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/ext/generator/generator.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/json/ext/generator/generator.c b/ext/json/ext/generator/generator.c
index ccd6017..9574508 100644
--- a/ext/json/ext/generator/generator.c
+++ b/ext/json/ext/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;