aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
Diffstat (limited to 'toys')
-rw-r--r--toys/posix/tar.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/toys/posix/tar.c b/toys/posix/tar.c
index 4b8dd901..bd738af4 100644
--- a/toys/posix/tar.c
+++ b/toys/posix/tar.c
@@ -263,7 +263,6 @@ static int add_to_tar(struct dirtree *node)
// !i because hardlink to a symlink is a thing.
if (!i && S_ISLNK(st->st_mode)) {
i = 2;
- lnk = xreadlink(name);
}
// Handle file types