aboutsummaryrefslogtreecommitdiffstats
path: root/ext/nkf
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-17 13:22:40 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-17 13:22:40 +0000
commit0a2053713beb7bfec84d1ef5c024223ed726181f (patch)
tree47c25e1da76445d1b51c9547c07af2852e978fda /ext/nkf
parent6f4fb0981db5cce2a14d38d089c4eb68d0e2a988 (diff)
downloadruby-0a2053713beb7bfec84d1ef5c024223ed726181f.tar.gz
* enc/trans/utf_16_32.c (fun_so_to_utf_16be, fun_so_to_utf_16le): add
parentheses to remove warnings of gcc. * io.c (rb_io_getc): remove unused variables. * compile.c (NODE_NEXT, NODE_REDO): remove unused labels. * ext/nkf/nkf.c (rb_nkf_convert): remove unused variables. * ext/syck/rubyext.c (syck_resolver_initialize, syck_resolver_detect_implicit, syck_emitter_emit): remove unused variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/nkf')
-rw-r--r--ext/nkf/nkf.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/nkf/nkf.c b/ext/nkf/nkf.c
index f2647f3d9d..ba8ffc978f 100644
--- a/ext/nkf/nkf.c
+++ b/ext/nkf/nkf.c
@@ -138,10 +138,6 @@ int nkf_split_options(const char *arg)
static VALUE
rb_nkf_convert(VALUE obj, VALUE opt, VALUE src)
{
- rb_encoding *to_enc;
- const char *to_e;
- int to_encidx;
-
reinit();
StringValue(opt);
nkf_split_options(RSTRING_PTR(opt));