# HG changeset patch # User Jason Rumney # Date 979344026 0 # Node ID fcd8120b294ac0de7a3fd1b1fd1f55e0f7bfd2f7 # Parent dd533a188c51b9d6f1aba541e33ae5a1dd20b27b (init_environment, sys_shutdown, sys_pipe): Remove unused variables. diff -r dd533a188c51 -r fcd8120b294a src/w32.c --- a/src/w32.c Fri Jan 12 23:59:37 2001 +0000 +++ b/src/w32.c Sat Jan 13 00:00:26 2001 +0000 @@ -86,7 +86,8 @@ #include "w32.h" #include "ndir.h" #include "w32heap.h" - +#include "systime.h" + #undef min #undef max #define min(x, y) (((x) < (y)) ? (x) : (y)) @@ -679,7 +680,6 @@ void init_environment (char ** argv) { - int len; static const char * const tempdirs[] = { "$TMPDIR", "$TEMP", "$TMP", "c:/" }; @@ -2877,8 +2877,6 @@ int sys_shutdown (int s, int how) { - int rc; - if (winsock_lib == NULL) { h_errno = ENETDOWN; @@ -3007,7 +3005,6 @@ { int rc; unsigned flags; - child_process * cp; /* make pipe handles non-inheritable; when we spawn a child, we replace the relevant handle with an inheritable one. Also put