diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-17 13:22:40 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-17 13:22:40 +0000 |
commit | 0a2053713beb7bfec84d1ef5c024223ed726181f (patch) | |
tree | 47c25e1da76445d1b51c9547c07af2852e978fda /ext/syck/rubyext.c | |
parent | 6f4fb0981db5cce2a14d38d089c4eb68d0e2a988 (diff) |
* 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/syck/rubyext.c')
-rw-r--r-- | ext/syck/rubyext.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/syck/rubyext.c b/ext/syck/rubyext.c index 1c44f7c055..b1b8a5c12e 100644 --- a/ext/syck/rubyext.c +++ b/ext/syck/rubyext.c @@ -884,7 +884,6 @@ syck_parser_set_resolver(VALUE self, VALUE resolver) static VALUE syck_resolver_initialize(VALUE self) { - VALUE tags = rb_hash_new(); rb_ivar_set(self, s_tags, rb_hash_new()); return self; } @@ -916,7 +915,6 @@ syck_resolver_use_types_at(VALUE self, VALUE hsh) VALUE syck_resolver_detect_implicit(VALUE self, VALUE val) { - char *type_id; return rb_str_new2( "" ); } @@ -1946,7 +1944,6 @@ VALUE syck_emitter_emit(int argc, VALUE *argv, VALUE self) { VALUE oid, proc; - char *anchor_name; SyckEmitter *emitter; struct emitter_xtra *bonus; SYMID symple; |