summaryrefslogtreecommitdiff
path: root/dist/threads
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-09-01 17:22:03 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-09-01 17:22:03 -0400
commitdc9f3e4bb076a8cc6c89523b8cf6ffc3d6ab630e (patch)
tree40f0fb85520d693d8ccbbc0ba895c15a4f74ca18 /dist/threads
parent0f1abed3702060886f7934560cf68b0d693cb58a (diff)
downloadperl-dc9f3e4bb076a8cc6c89523b8cf6ffc3d6ab630e.tar.gz
Ignore warning about unused result since it is desperation time.
Diffstat (limited to 'dist/threads')
-rw-r--r--dist/threads/threads.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/threads/threads.xs b/dist/threads/threads.xs
index 450efe1653..5b44a38ef0 100644
--- a/dist/threads/threads.xs
+++ b/dist/threads/threads.xs
@@ -718,7 +718,7 @@ S_ithread_create(
int fd = PerlIO_fileno(Perl_error_log);
if (fd >= 0) {
/* If there's no error_log, we cannot scream about it missing. */
- PerlLIO_write(fd, PL_no_mem, strlen(PL_no_mem));
+ PERL_UNUSED_RESULT(PerlLIO_write(fd, PL_no_mem, strlen(PL_no_mem)));
}
}
my_exit(1);