More fixes to compile.
[reactos.git] / reactos / subsys / csr / csrsrv / api.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