diff options
author | Rob Landley <rob@landley.net> | 2019-04-01 12:54:05 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-04-01 12:54:05 -0500 |
commit | 56e3076ce3fa931946857514f02b5a65e90152a6 (patch) | |
tree | 03f4d183acff13dba869ab9c5b2a047275a772ed | |
parent | c8de117f1c0c9cd77333c88b0182aab63d381154 (diff) | |
download | toybox-56e3076ce3fa931946857514f02b5a65e90152a6.tar.gz |
Silence spurious gcc "lnk cannot be used uninitialized" warning.
-rw-r--r-- | toys/pending/tar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/pending/tar.c b/toys/pending/tar.c index 7d688241..7cad2729 100644 --- a/toys/pending/tar.c +++ b/toys/pending/tar.c @@ -175,7 +175,7 @@ static int add_to_tar(struct dirtree *node) struct passwd *pw = pw; struct group *gr = gr; int i, fd =-1; - char *c, *p, *name, *lnk, *hname; + char *c, *p, *name, *lnk = lnk, *hname; if (!dirtree_notdotdot(node)) return 0; if (TT.adev == st->st_dev && TT.aino == st->st_ino) { |