summaryrefslogtreecommitdiffstats
path: root/libtar/handle.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtar/handle.c')
-rw-r--r--libtar/handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtar/handle.c b/libtar/handle.c
index 28a7dc247..a26c094cc 100644
--- a/libtar/handle.c
+++ b/libtar/handle.c
@@ -32,7 +32,7 @@ static tartype_t default_type = { open, close, read, write };
static int
tar_init(TAR **t, const char *pathname, tartype_t *type,
- int oflags, int mode, int options)
+ int oflags, int mode __unused, int options)
{
if ((oflags & O_ACCMODE) == O_RDWR)
{