[hackers] [sbase] tar: No need to zero-fill variables with global storage || sin

From: <git_AT_suckless.org>
Date: Thu, 23 Apr 2015 16:32:06 +0200 (CEST)

commit d1e19e972abb3fb21260d6c1513ba5155a97327f
Author: sin <sin_AT_2f30.org>
Date: Thu Apr 23 15:29:37 2015 +0100

    tar: No need to zero-fill variables with global storage

diff --git a/tar.c b/tar.c
index cb3d17d..6e70425 100644
--- a/tar.c
+++ b/tar.c
_AT_@ -52,8 +52,8 @@ static int tarfd;
 static ino_t tarinode;
 static dev_t tardev;
 
-static int mflag;
-static char filtermode = '\0';
+static int mflag;
+static int filtermode;
 
 static struct ent {
         char *name;
Received on Thu Apr 23 2015 - 16:32:06 CEST

This archive was generated by hypermail 2.3.0 : Thu Apr 23 2015 - 16:36:15 CEST