From: William A. Rowe Jr Date: Thu, 16 May 2002 19:12:02 +0000 (+0000) Subject: An absolutely unnecessary hack around MSVC emits that the symbol may X-Git-Tag: 2.0.37~366 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3441748a9600070441441bb38329cc7034c44f59;p=apache 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.] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95141 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/win32/wintty.c b/support/win32/wintty.c index 13b0f38b2a..82cacd9414 100644 --- a/support/win32/wintty.c +++ b/support/win32/wintty.c @@ -110,8 +110,8 @@ int main(int argc, char** argv) { 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;