From 93c20d9414f36c7c0c89d3d483f1dfc11fbbd79e Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Thu, 16 May 2002 19:12:02 +0000 Subject: [PATCH] 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 --- support/win32/wintty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.40.0