diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | string.c | 1 |
2 files changed, 5 insertions, 2 deletions
@@ -1,4 +1,6 @@ -Thu Feb 28 11:13:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> +Thu Feb 28 11:19:51 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * string.c (rb_str_reverse_bang): removed unsed variables. * include/ruby/encoding.h (rb_str_coderange_scan_restartable): added prototype. @@ -6,6 +8,8 @@ Thu Feb 28 11:13:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * string.c (rb_str_coderange_scan_restartable, rb_str_times): removed unsed variables. + * string.c (rb_str_reverse_bang): ditto + * string.c (rb_enc_str_copy): unused now. may be used in future? Thu Feb 28 03:03:32 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> @@ -3561,7 +3561,6 @@ rb_str_reverse(VALUE str) static VALUE rb_str_reverse_bang(VALUE str) { - rb_encoding *enc = STR_ENC_GET(str); char *s, *e, c; if (RSTRING_LEN(str) > 1) { |