diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-30 23:03:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-30 23:03:23 +0000 |
commit | 8ad06e2604f9563f21e0b7e107aedde82f40adf8 (patch) | |
tree | c52f0d5c333e66367c9793930b5d27c850b91436 /thread_pthread.c | |
parent | fa4514e4fedc1e1390200e3901e2add22a4a27b4 (diff) |
* error.c, thread_pthread.c (WRITE_CONST): suppress warnings
`ignoring return value'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index 4f66c4e2cf..bd481ddc70 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -994,7 +994,7 @@ static int timer_thread_pipe_owner_process; #define TT_DEBUG 0 -#define WRITE_CONST(fd, str) write((fd),(str),sizeof(str)-1); +#define WRITE_CONST(fd, str) (void)(write((fd),(str),sizeof(str)-1)<0) /* only use signal-safe system calls here */ void |