aboutsummaryrefslogtreecommitdiff
path: root/toys/pending
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-03-27 21:39:32 -0500
committerRob Landley <rob@landley.net>2019-03-27 21:39:32 -0500
commit205b9e243ecab728886b35712546cd8928488796 (patch)
treee888970d492f77422ffd8f98bfc7f00455c3197b /toys/pending
parent865af873652475a444c74501c91638aa1810bb03 (diff)
downloadtoybox-205b9e243ecab728886b35712546cd8928488796.tar.gz
Silence another broken gcc "tar is never used uninitialized" warning.
Diffstat (limited to 'toys/pending')
-rw-r--r--toys/pending/tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/pending/tar.c b/toys/pending/tar.c
index ea57b7a6..97524d87 100644
--- a/toys/pending/tar.c
+++ b/toys/pending/tar.c
@@ -340,7 +340,7 @@ static void extract_to_command(void)
// Do pending directory utimes(), NULL to flush all.
static int dirflush(char *name)
{
- char *s, *ss;
+ char *s = s, *ss;
// Barf if name not in TT.cwd
if (name) {