From 205b9e243ecab728886b35712546cd8928488796 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 27 Mar 2019 21:39:32 -0500 Subject: Silence another broken gcc "tar is never used uninitialized" warning. --- toys/pending/tar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/pending') 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) { -- cgit v1.2.3