summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-16 09:37:45 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-16 09:37:45 +0000
commit86310f3e894cec7f7c3e26c29bf9c2365828f65b (patch)
tree5b672f3fd0a2158446b6cf048b9fcd178f80c93d /ext
parent7e6bf2fb4308e43451eaff0266e2080852712d59 (diff)
* ext/syck/node.c (syck_replace_str): was using return from the
void function. a patch from MIYAMUKO Katsuyuki <miyamuko@mtb.biglobe.ne.jp>. [ruby-dev:27111] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/syck/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/syck/node.c b/ext/syck/node.c
index 72db016..28fc78c 100644
--- a/ext/syck/node.c
+++ b/ext/syck/node.c
@@ -123,7 +123,7 @@ syck_new_str2( char *str, long len, enum scalar_style style )
void
syck_replace_str( SyckNode *n, char *str, enum scalar_style style )
{
- return syck_replace_str2( n, str, strlen( str ), style );
+ syck_replace_str2( n, str, strlen( str ), style );
}
void