diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-20 06:14:49 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-20 06:14:49 +0000 |
commit | d92efa3c0b8b995f5bd95ec4099db81a97480632 (patch) | |
tree | c7aa043c7f9339196fc855eb90122e98dead4578 /io.c | |
parent | ae2921ae67e849f8d28c0a3ae170d38c6ac36d03 (diff) | |
download | ruby-d92efa3c0b8b995f5bd95ec4099db81a97480632.tar.gz |
* io.c (copy_stream_func): suppress warnings.
* thread_pthread.c (add_signal_thread_list): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -6517,7 +6517,9 @@ static VALUE copy_stream_func(void *arg) { struct copy_stream_struct *stp = (struct copy_stream_struct *)arg; +#ifdef USE_SENDFILE int ret; +#endif #ifdef USE_SENDFILE ret = copy_stream_sendfile(stp); @@ -6527,7 +6529,9 @@ copy_stream_func(void *arg) copy_stream_read_write(stp); +#ifdef USE_SENDFILE finish: +#endif return Qnil; } |