You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2002/05/16 21:12:03 UTC
cvs commit: httpd-2.0/support/win32 wintty.c
wrowe 02/05/16 12:12:02
Modified: support/win32 wintty.c
Log:
An absolutely unnecessary hack around MSVC emits that the symbol may
not have been initialized. [Of course it was initialized, the same
code protects both it's initialization and reset.]
Revision Changes Path
1.9 +2 -2 httpd-2.0/support/win32/wintty.c
Index: wintty.c
===================================================================
RCS file: /home/cvs/httpd-2.0/support/win32/wintty.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- wintty.c 13 Mar 2002 20:48:07 -0000 1.8
+++ wintty.c 16 May 2002 19:12:02 -0000 1.9
@@ -110,8 +110,8 @@
{
char str[1024], *contitle;
HANDLE hproc, thread;
- HANDLE hwinsta, hsavewinsta;
- HANDLE hdesk, hsavedesk;
+ HANDLE hwinsta = NULL, hsavewinsta;
+ HANDLE hdesk = NULL, hsavedesk = NULL;
HANDLE conin, conout;
HANDLE hstdin, hstdout, hstderr, hdup;
feedback_args_t feed;