summaryrefslogtreecommitdiffstats
path: root/Utilities/cmtar/handle.c
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmtar/handle.c')
-rw-r--r--Utilities/cmtar/handle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Utilities/cmtar/handle.c b/Utilities/cmtar/handle.c
index 5238e03..3bf4c28 100644
--- a/Utilities/cmtar/handle.c
+++ b/Utilities/cmtar/handle.c
@@ -56,6 +56,7 @@ static int
tar_init(TAR **t, char *pathname, tartype_t *type,
int oflags, int mode, int options)
{
+ (void)mode;
if ((oflags & O_ACCMODE) == O_RDWR)
{
errno = EINVAL;