summaryrefslogtreecommitdiff
path: root/ext/syck/node.c
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
commit38aeed1f947f58433a1c8f98630a062d13db39fd (patch)
tree6905c80234348268af3da4ff249bf637d15c7cae /ext/syck/node.c
parent56d82da97cd141231f72d9919def6a1ce8fd8445 (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/trunk@9180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/syck/node.c')
-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 72db016eda..28fc78c077 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