summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2014-05-31 01:28:18 +0200
committerBrian Fraser <fraserbn@gmail.com>2014-06-13 00:00:32 +0200
commitacfd4d8e7fdfa20116069fff8faae1108f58a00e (patch)
tree461a732fc0065dc6abcb33b935c55252c9d7d84f /malloc.c
parentf6555ff3f309865a88085cd93354cd93bfb96fd3 (diff)
downloadperl-acfd4d8e7fdfa20116069fff8faae1108f58a00e.tar.gz
Added several missing PERL_UNUSED_RESULT()
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc.c b/malloc.c
index a6fb4e7e04..a99663ef56 100644
--- a/malloc.c
+++ b/malloc.c
@@ -1065,7 +1065,7 @@ emergency_sbrk(MEM_SIZE size)
#endif /* defined PERL_EMERGENCY_SBRK */
/* Don't use PerlIO buffered writes as they allocate memory. */
-#define MYMALLOC_WRITE2STDERR(s) PerlLIO_write(PerlIO_fileno(PerlIO_stderr()),s,strlen(s))
+#define MYMALLOC_WRITE2STDERR(s) PERL_UNUSED_RESULT(PerlLIO_write(PerlIO_fileno(PerlIO_stderr()),s,strlen(s)))
#ifdef DEBUGGING
#undef ASSERT