diff options
author | Brian Fraser <fraserbn@gmail.com> | 2014-05-31 01:28:18 +0200 |
---|---|---|
committer | Brian Fraser <fraserbn@gmail.com> | 2014-06-13 00:00:32 +0200 |
commit | acfd4d8e7fdfa20116069fff8faae1108f58a00e (patch) | |
tree | 461a732fc0065dc6abcb33b935c55252c9d7d84f /util.c | |
parent | f6555ff3f309865a88085cd93354cd93bfb96fd3 (diff) | |
download | perl-acfd4d8e7fdfa20116069fff8faae1108f58a00e.tar.gz |
Added several missing PERL_UNUSED_RESULT()
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)); } } } |