fixed uninitialized variables warnings
authorThomas Bluemel <thomas@reactsoft.com>
Sun, 27 Nov 2005 14:02:58 +0000 (14:02 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Sun, 27 Nov 2005 14:02:58 +0000 (14:02 +0000)
svn path=/trunk/; revision=19686

reactos/subsys/system/usetup/usetup.c
reactos/subsys/win32k/ntuser/input.c

index ff0c547..71d6581 100644 (file)
@@ -2773,7 +2773,7 @@ PrepareCopyPageInfFile(HINF InfFile,
 {
   WCHAR PathBuffer[MAX_PATH];
   PINFCONTEXT DirContext;
-  PWCHAR AdditionalSectionName;
+  PWCHAR AdditionalSectionName = NULL;
   PWCHAR KeyValue;
   ULONG Length;
   NTSTATUS Status;
index f9e77ff..7b2c95c 100644 (file)
@@ -910,7 +910,7 @@ IntMouseInput(MOUSEINPUT *mi)
       {
          MK_LBUTTON, MK_RBUTTON
       };
-   POINT MousePos, OrgPos;
+   POINT MousePos = {0}, OrgPos;
    PSYSTEM_CURSORINFO CurInfo;
    PWINSTATION_OBJECT WinSta;
    BOOL DoMove, SwapButtons;