summaryrefslogtreecommitdiffstats
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
commite3381e0e3ab324be2046974c4ff5a8a450f19c3b (patch)
tree6905c80234348268af3da4ff249bf637d15c7cae /ext
parenta866ae5ec725fc2b92609ed1d33e9ec2f4cac32c (diff)
downloadruby-e3381e0e3ab324be2046974c4ff5a8a450f19c3b.tar.gz
ruby-e3381e0e3ab324be2046974c4ff5a8a450f19c3b.tar.xz
ruby-e3381e0e3ab324be2046974c4ff5a8a450f19c3b.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@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 72db016ed..28fc78c07 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