diff --git a/ChangeLog b/ChangeLog index e5f36af181..88bd0b6263 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Oct 10 00:11:16 2008 Yusuke Endoh + + * transcode.c (rb_econv_add_coverter): remove unnecessary NULL check. + Thu Oct 9 23:53:23 2008 Nobuyoshi Nakada * misc/ruby-style.el (ruby-style-c-mode): buffer may not have file diff --git a/transcode.c b/transcode.c index 43013be0ff..cd1f27cf05 100644 --- a/transcode.c +++ b/transcode.c @@ -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); }