summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/tar/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tar/util.c b/usr.bin/tar/util.c
index 9f3fc92..367409b 100644
--- a/usr.bin/tar/util.c
+++ b/usr.bin/tar/util.c
@@ -453,8 +453,8 @@ edit_pathname(struct bsdtar *bsdtar, struct archive_entry *entry)
const char *name = archive_entry_pathname(entry);
#if HAVE_REGEX_H
char *subst_name;
-#endif
int r;
+#endif
#if HAVE_REGEX_H
r = apply_substitution(bsdtar, name, &subst_name, 0);
OpenPOWER on IntegriCloud