The variable is not used in our gzip copy. In the gzip code it is used to strip of .exe of progname, which makes no sense in a unixish environment. Cleans up build with recent gcc 4.6 of: usr/gzip/gzip.c: In function ?main?: usr/gzip/gzip.c:231:9: warning: variable ?proglen? set but not used [-Wunused-but-set-variable] Signed-off-by: maximilian attems <max at stro.at> --- usr/gzip/gzip.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/usr/gzip/gzip.c b/usr/gzip/gzip.c index 8f4c121..ab73de0 100644 --- a/usr/gzip/gzip.c +++ b/usr/gzip/gzip.c @@ -228,11 +228,9 @@ int main (argc, argv) char **argv; { int file_count; /* number of files to precess */ - int proglen; /* length of progname */ int optc; /* current option */ progname = basename(argv[0]); - proglen = strlen(progname); /* Add options in GZIP environment variable if there is one */ env = add_envopt(&argc, &argv, OPTIONS_VAR); -- 1.7.5.4