aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-04-02 21:02:24 -0500
committerRob Landley <rob@landley.net>2019-04-02 21:02:24 -0500
commitdaff8901cc80dda766a8094ae9737eaeae232917 (patch)
treefa973344c040b42f331763ac3e2a89593af8e8d2
parentde71e746ae2571ce1892f472f8a8f1315b80f070 (diff)
downloadtoybox-daff8901cc80dda766a8094ae9737eaeae232917.tar.gz
Yeah, ok, that one can get used uninitialized.
-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 f7559b60..b7952039 100644
--- a/toys/pending/tar.c
+++ b/toys/pending/tar.c
@@ -357,7 +357,7 @@ static void extract_to_command(void)
// Do pending directory utimes(), NULL to flush all.
static int dirflush(char *name)
{
- char *s = s, *ss;
+ char *s = 0, *ss;
// Barf if name not in TT.cwd
if (name) {