mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* transcode.c (rb_econv_add_coverter): remove unnecessary NULL check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fd8ca75663
commit
fc9c37dfc9
2 changed files with 4 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri Oct 10 00:11:16 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* transcode.c (rb_econv_add_coverter): remove unnecessary NULL check.
|
||||
|
||||
Thu Oct 9 23:53:23 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* misc/ruby-style.el (ruby-style-c-mode): buffer may not have file
|
||||
|
|
|
@ -1800,8 +1800,6 @@ rb_econv_add_converter(rb_econv_t *ec, const char *sname, const char *dname, int
|
|||
return -1;
|
||||
|
||||
tr = load_transcoder_entry(entry);
|
||||
if (!entry)
|
||||
return -1;
|
||||
|
||||
return rb_econv_add_transcoder_at(ec, tr, n);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue