diff options
author | Tim Kientzle <kientzle@gmail.com> | 2009-11-29 15:17:10 -0500 |
---|---|---|
committer | Tim Kientzle <kientzle@gmail.com> | 2009-11-29 15:17:10 -0500 |
commit | b1cd7d6b274a9d91696f0568cde2eb9ffd8c7f32 (patch) | |
tree | 779e915d66bba4a00f4c72a22d32422fd6cadbe7 /libarchive/archive_util.c | |
parent | 285a656662d2a998f6e94a80375e060159dbcaa6 (diff) | |
download | libarchive-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.c | 2 |
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); |