From 931de892cc1c07ba3ce728cce3e4a64fe59c8444 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 21 Jun 2007 12:43:45 +0000 Subject: random shrinkage of statics, -60 bytes saved --- archival/tar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'archival/tar.c') 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++; } -- cgit v1.2.3