fixed uninitialized variable warning
Modified: trunk/reactos/subsys/csrss/win32csr/conio.c

Modified: trunk/reactos/subsys/csrss/win32csr/conio.c
--- trunk/reactos/subsys/csrss/win32csr/conio.c	2005-08-07 09:48:38 UTC (rev 17151)
+++ trunk/reactos/subsys/csrss/win32csr/conio.c	2005-08-07 09:55:08 UTC (rev 17152)
@@ -1545,7 +1545,7 @@
 CSR_API(CsrWriteConsoleOutputChar)
 {
   NTSTATUS Status;
-  PCHAR tmpString, String;
+  PCHAR String;
   PBYTE Buffer;
   PCSRSS_CONSOLE Console;
   PCSRSS_SCREEN_BUFFER Buff;
@@ -1577,7 +1577,7 @@
                                       (PWCHAR)Request->Data.WriteConsoleOutputCharRequest.String, 
                                        Request->Data.WriteConsoleOutputCharRequest.Length, 
                                        NULL, 0, NULL, NULL);
-          tmpString = String = RtlAllocateHeap(GetProcessHeap(), 0, Length);
+          String = RtlAllocateHeap(GetProcessHeap(), 0, Length);
           if (String)
             {
               WideCharToMultiByte(Console->CodePage, 0, 
@@ -1635,7 +1635,7 @@
             }
           if (Request->Data.WriteConsoleRequest.Unicode)
             {
-              RtlFreeHeap(GetProcessHeap(), 0, tmpString);
+              RtlFreeHeap(GetProcessHeap(), 0, String);
             }
         }
       if (NULL != Console)