diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-17 13:21:17 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-17 13:21:17 +0000 |
commit | e181ae53918c09139e7f60bf5ad32741d91339cd (patch) | |
tree | 25db732f932a40522046b0afa8824aded8545e42 /ext/psych | |
parent | 0f074e654630858aa44010065928a93d2a53c0ef (diff) | |
download | ruby-e181ae53918c09139e7f60bf5ad32741d91339cd.tar.gz |
* process.c: suppress warning for signed and unsigned type
inconsistency.
* ext/psych/parser.c: ditto.
* ext/sdbm/_sdbm.c: ditto.
* ext/syck/rubyext.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/psych')
-rw-r--r-- | ext/psych/parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/psych/parser.c b/ext/psych/parser.c index 0fa02b981f..eefb8e67bc 100644 --- a/ext/psych/parser.c +++ b/ext/psych/parser.c @@ -55,7 +55,7 @@ static VALUE parse(VALUE self, VALUE yaml) int done = 0; #ifdef HAVE_RUBY_ENCODING_H int encoding = rb_enc_find_index("ASCII-8BIT"); - rb_encoding * internal_enc; + rb_encoding * internal_enc = 0; #endif VALUE handler = rb_iv_get(self, "@handler"); |