More fixes to compile.
authorEmanuele Aliberti <ea@iol.it>
Sun, 2 Oct 2005 19:39:30 +0000 (19:39 +0000)
committerEmanuele Aliberti <ea@iol.it>
Sun, 2 Oct 2005 19:39:30 +0000 (19:39 +0000)
svn path=/trunk/; revision=18230

reactos/subsys/csr/csrsrv/api.c
reactos/subsys/csr/csrsrv/process.c

index d5b0cbc..29f01f1 100644 (file)
@@ -1124,13 +1124,13 @@ NTAPI
 CsrCaptureArguments(IN PCSR_THREAD CsrThread,\r
                     IN PCSR_API_MESSAGE ApiMessage)\r
 {\r
 CsrCaptureArguments(IN PCSR_THREAD CsrThread,\r
                     IN PCSR_API_MESSAGE ApiMessage)\r
 {\r
-    PCSR_CAPTURE_BUFFER LocalCaptureBuffer;\r
-    ULONG LocalLength;\r
-    PCSR_CAPTURE_BUFFER RemoteCaptureBuffer;\r
-    SIZE_T BufferDistance;\r
-    ULONG PointerCount;\r
-    ULONG_PTR **PointerOffsets;\r
-    ULONG_PTR *CurrentPointer;\r
+    PCSR_CAPTURE_BUFFER LocalCaptureBuffer = NULL;\r
+    ULONG LocalLength = 0;\r
+    PCSR_CAPTURE_BUFFER RemoteCaptureBuffer = NULL;\r
+    SIZE_T BufferDistance = 0;\r
+    ULONG PointerCount = 0;\r
+    ULONG_PTR **PointerOffsets = NULL;\r
+    ULONG_PTR *CurrentPointer = NULL;\r
 \r
     /* Use SEH to make sure this is valid */\r
     _SEH_TRY\r
 \r
     /* Use SEH to make sure this is valid */\r
     _SEH_TRY\r
index c6e4069..09dd1ab 100644 (file)
@@ -1097,12 +1097,12 @@ CsrShutdownProcesses(PLUID CallerLuid,
                      ULONG Flags)
 {
     PLIST_ENTRY ListHead, NextEntry;
                      ULONG Flags)
 {
     PLIST_ENTRY ListHead, NextEntry;
-    PCSR_PROCESS CsrProcess;
+    PCSR_PROCESS CsrProcess = NULL;
     NTSTATUS Status = STATUS_UNSUCCESSFUL;
     BOOLEAN FirstTry = TRUE;
     NTSTATUS Status = STATUS_UNSUCCESSFUL;
     BOOLEAN FirstTry = TRUE;
-    ULONG i;
-    PCSR_SERVER_DLL ServerDll;
-    ULONG Result;
+    ULONG i = 0;
+    PCSR_SERVER_DLL ServerDll = NULL;
+    ULONG Result = 0;
 
     /* Acquire process lock */
     CsrAcquireProcessLock();
 
     /* Acquire process lock */
     CsrAcquireProcessLock();