summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--string.c1
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2b1023a45b..5bac0ab956 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
diff --git a/string.c b/string.c
index 12c5903447..ea40b995e1 100644
--- a/string.c
+++ b/string.c
@@ -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) {