diff options
author | Christopher Faylor <me@cgf.cx> | 2001-09-06 08:41:59 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-09-06 08:41:59 +0400 |
commit | 08b78edf5a6aceeb54ed848cc8479d4ca8bad4ca (patch) | |
tree | a894d2763c28d56bc24769252b17870c38ab7141 /winsup/cygwin/fork.cc | |
parent | 4ce15a498010f678c71cefdf2a2ac0db58f4fa93 (diff) |
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.
Diffstat (limited to 'winsup/cygwin/fork.cc')
-rw-r--r-- | winsup/cygwin/fork.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/fork.cc b/winsup/cygwin/fork.cc index 173c02b1b..696daaf05 100644 --- a/winsup/cygwin/fork.cc +++ b/winsup/cygwin/fork.cc @@ -30,9 +30,9 @@ details. */ #include "dll_init.h" #ifdef DEBUGGING -static int npid = 0; -static int npid_max = 0; -static pid_t fork_pids[100] = {0}; +static int npid; +static int npid_max; +static pid_t fork_pids[100]; #endif DWORD NO_COPY chunksize = 0; |