From e181ae53918c09139e7f60bf5ad32741d91339cd Mon Sep 17 00:00:00 2001 From: mame Date: Mon, 17 May 2010 13:21:17 +0000 Subject: * 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 --- ext/psych/parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/psych') 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"); -- cgit v1.2.3