From 08b78edf5a6aceeb54ed848cc8479d4ca8bad4ca Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 6 Sep 2001 04:41:59 +0000 Subject: Remove initialization of static or global values to zero, throughout. This just needlessly grows the size of the DLL. * tty.cc (tty::alive): Make inuse handle non-inheriting on open, just for thread safety. --- winsup/cygwin/external.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/external.cc') diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc index 4eed55fb6..9bbdc6024 100644 --- a/winsup/cygwin/external.cc +++ b/winsup/cygwin/external.cc @@ -35,7 +35,7 @@ fillout_pinfo (pid_t pid, int winpid) if (!pids.npids || !nextpid) pids.init (winpid); - static unsigned int i = 0; + static unsigned int i; if (!pid) i = 0; -- cgit v1.2.3