summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-25 13:41:06 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-25 13:41:06 +0000
commit892e443cc8f02fc7b15fac0066374be13a0cc808 (patch)
treeb05bd5b278f7c0941fc61d6c4f1de1aac0f52d00 /string.c
parent36163224f417b5641998207f54049136eab3e50b (diff)
* string.c (rb_str_update): don't return any value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index 106e042..495cde9 100644
--- a/string.c
+++ b/string.c
@@ -1631,7 +1631,7 @@ rb_str_update(str, beg, len, val)
VALUE val;
{
rb_str_modify(str);
- return rb_str_splice(str, beg, len, val);
+ rb_str_splice(str, beg, len, val);
}
static void