diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-21 16:43:45 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-21 16:43:45 +0400 |
commit | 931de892cc1c07ba3ce728cce3e4a64fe59c8444 (patch) | |
tree | d9a2eb0a78971f0556ea28538e1705b203e107ad /archival | |
parent | a80b4a0fa74e7a19881790943d4f58de0411fa58 (diff) |
random shrinkage of statics, -60 bytes saved
Diffstat (limited to 'archival')
-rw-r--r-- | archival/tar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archival/tar.c b/archival/tar.c index adcedf615..bcbb7a994 100644 --- a/archival/tar.c +++ b/archival/tar.c @@ -417,11 +417,11 @@ static int writeFileToTarball(const char *fileName, struct stat *statbuf, header_name = fileName; while (header_name[0] == '/') { - static int alreadyWarned = FALSE; + static smallint warned; - if (alreadyWarned == FALSE) { + if (!warned) { bb_error_msg("removing leading '/' from member names"); - alreadyWarned = TRUE; + warned = 1; } header_name++; } |