summaryrefslogtreecommitdiff
path: root/util.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 /util.c
parentf6555ff3f309865a88085cd93354cd93bfb96fd3 (diff)
downloadperl-acfd4d8e7fdfa20116069fff8faae1108f58a00e.tar.gz
Added several missing PERL_UNUSED_RESULT()
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.c b/util.c
index 3fa7991de3..ea13ff36e9 100644
--- a/util.c
+++ b/util.c
@@ -4767,7 +4767,7 @@ S_mem_log_common(enum mem_log_type mlt, const UV n,
if (strchr(pmlenv, 't')) {
len = my_snprintf(buf, sizeof(buf),
MEM_LOG_TIME_FMT, MEM_LOG_TIME_ARG);
- PerlLIO_write(fd, buf, len);
+ PERL_UNUSED_RESULT(PerlLIO_write(fd, buf, len));
}
switch (mlt) {
case MLT_ALLOC:
@@ -4802,7 +4802,7 @@ S_mem_log_common(enum mem_log_type mlt, const UV n,
default:
len = 0;
}
- PerlLIO_write(fd, buf, len);
+ PERL_UNUSED_RESULT(PerlLIO_write(fd, buf, len));
}
}
}