]> granicus.if.org Git - apache/commitdiff
An absolutely unnecessary hack around MSVC emits that the symbol may
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 16 May 2002 19:12:02 +0000 (19:12 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 16 May 2002 19:12:02 +0000 (19:12 +0000)
  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

index 13b0f38b2a2620297dddb4679730d579e876d83a..82cacd94141ec134e95014b45a31cc2c2d58e5d0 100644 (file)
@@ -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;