summaryrefslogtreecommitdiff
path: root/libarchive/archive_util.c
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@gmail.com>2009-11-29 15:17:10 -0500
committerTim Kientzle <kientzle@gmail.com>2009-11-29 15:17:10 -0500
commitb1cd7d6b274a9d91696f0568cde2eb9ffd8c7f32 (patch)
tree779e915d66bba4a00f4c72a22d32422fd6cadbe7 /libarchive/archive_util.c
parent285a656662d2a998f6e94a80375e060159dbcaa6 (diff)
downloadlibarchive-b1cd7d6b274a9d91696f0568cde2eb9ffd8c7f32.tar.gz
Suppress some "unused return value" warnings from clang.
SVN-Revision: 1680
Diffstat (limited to 'libarchive/archive_util.c')
-rw-r--r--libarchive/archive_util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libarchive/archive_util.c b/libarchive/archive_util.c
index 709c66ca..9bd16d13 100644
--- a/libarchive/archive_util.c
+++ b/libarchive/archive_util.c
@@ -190,7 +190,9 @@ __archive_errx(int retvalue, const char *msg)
size_t s;
s = write(2, msg1, strlen(msg1));
+ (void)s; /* UNUSED */
s = write(2, msg, strlen(msg));
+ (void)s; /* UNUSED */
s = write(2, "\n", 1);
(void)s; /* UNUSED */
exit(retvalue);