aboutsummaryrefslogtreecommitdiff
path: root/libarchive/archive_read_open_memory.c
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2012-02-09 10:56:05 +0000
committerMartin Matuska <mm@FreeBSD.org>2012-02-09 10:56:05 +0000
commitbfd7accf016895bfc7c0af369106f52e0ca32e79 (patch)
treeea9e0ff2a038ff253d22999a64e6a39cdbe6ac86 /libarchive/archive_read_open_memory.c
parent17993d47e9beebea021707962fcdf2387b27cae9 (diff)
downloadsrc-bfd7accf016895bfc7c0af369106f52e0ca32e79.tar.gz
src-bfd7accf016895bfc7c0af369106f52e0ca32e79.zip
Notes
Diffstat (limited to 'libarchive/archive_read_open_memory.c')
-rw-r--r--libarchive/archive_read_open_memory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libarchive/archive_read_open_memory.c b/libarchive/archive_read_open_memory.c
index 07940a2ac0fd..bcc7d6f78e30 100644
--- a/libarchive/archive_read_open_memory.c
+++ b/libarchive/archive_read_open_memory.c
@@ -149,6 +149,7 @@ memory_read_seek(struct archive *a, void *client_data, int64_t offset, int whenc
{
struct read_memory_data *mine = (struct read_memory_data *)client_data;
+ (void)a; /* UNUSED */
switch (whence) {
case SEEK_SET:
mine->p = mine->start + offset;