summaryrefslogtreecommitdiffstats
path: root/transcode.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-13 00:56:40 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-13 00:56:40 +0000
commit0238ad4d7a5419ec386daa64786c9393221181fb (patch)
tree143281f8fa1fbcdb6a5b898551be8085583fea84 /transcode.c
parent87481fe2b5fcf24981591e5d44c2c1d4a8ca4cfc (diff)
downloadruby-0238ad4d7a5419ec386daa64786c9393221181fb.tar.gz
ruby-0238ad4d7a5419ec386daa64786c9393221181fb.tar.xz
ruby-0238ad4d7a5419ec386daa64786c9393221181fb.zip
* transcode.c (rb_econv_init_by_convpath): suppressed warnings.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'transcode.c')
-rw-r--r--transcode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/transcode.c b/transcode.c
index 35acdca27..2a01fc9b9 100644
--- a/transcode.c
+++ b/transcode.c
@@ -2891,7 +2891,7 @@ rb_econv_init_by_convpath(VALUE self, VALUE convpath,
long i;
int ret, first=1;
VALUE elt;
- rb_encoding *senc, *denc;
+ rb_encoding *senc = 0, *denc = 0;
const char *sname, *dname;
ec = rb_econv_alloc(RARRAY_LEN(convpath));