From 65504ac12cdc4eff0a98fd50fff1a019fbb77f1b Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 30 Apr 2001 18:07:24 +0000 Subject: [PATCH] These do not need initial values. Let them live in the bss. -Erik --- chgrp.c | 2 +- chown.c | 4 ++-- coreutils/chgrp.c | 2 +- coreutils/chown.c | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/chgrp.c b/chgrp.c index ec1a0370c..fbc1036a8 100644 --- a/chgrp.c +++ b/chgrp.c @@ -34,7 +34,7 @@ #endif -static long gid = -1; +static long gid; static int fileAction(const char *fileName, struct stat *statbuf, void* junk) { diff --git a/chown.c b/chown.c index 9ff287251..011403378 100644 --- a/chown.c +++ b/chown.c @@ -33,8 +33,8 @@ #define lchown chown #endif -static long uid = -1; -static long gid = -1; +static long uid; +static long gid; static int fileAction(const char *fileName, struct stat *statbuf, void* junk) { diff --git a/coreutils/chgrp.c b/coreutils/chgrp.c index ec1a0370c..fbc1036a8 100644 --- a/coreutils/chgrp.c +++ b/coreutils/chgrp.c @@ -34,7 +34,7 @@ #endif -static long gid = -1; +static long gid; static int fileAction(const char *fileName, struct stat *statbuf, void* junk) { diff --git a/coreutils/chown.c b/coreutils/chown.c index 9ff287251..011403378 100644 --- a/coreutils/chown.c +++ b/coreutils/chown.c @@ -33,8 +33,8 @@ #define lchown chown #endif -static long uid = -1; -static long gid = -1; +static long uid; +static long gid; static int fileAction(const char *fileName, struct stat *statbuf, void* junk) { -- 2.25.1