mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
fixed uninitialized variable warnings
svn path=/trunk/; revision=18120
This commit is contained in:
parent
6053e004ad
commit
305c7e5ef7
5 changed files with 7 additions and 7 deletions
|
@ -847,7 +847,7 @@ NtUserClipCursor(
|
|||
PSYSTEM_CURSORINFO CurInfo;
|
||||
RECT Rect;
|
||||
PWINDOW_OBJECT DesktopWindow = NULL;
|
||||
POINT MousePos;
|
||||
POINT MousePos = {0};
|
||||
DECLARE_RETURN(BOOL);
|
||||
|
||||
DPRINT("Enter NtUserClipCursor\n");
|
||||
|
|
|
@ -930,7 +930,7 @@ static UINT IntMapVirtualKeyEx( UINT Code, UINT Type, PKBDTABLES keyLayout )
|
|||
|
||||
case 2:
|
||||
{
|
||||
WCHAR wp[2];
|
||||
WCHAR wp[2] = {0};
|
||||
|
||||
ret = VkToScan( Code, FALSE, keyLayout );
|
||||
ToUnicodeInner( Code, ret, 0, wp, 2, 0, keyLayout );
|
||||
|
|
|
@ -62,7 +62,7 @@ BOOL STDCALL NtGdiCombineTransform(LPXFORM UnsafeXFormResult,
|
|||
CONST LPXFORM Unsafexform2)
|
||||
{
|
||||
XFORM xformTemp;
|
||||
XFORM xform1, xform2;
|
||||
XFORM xform1 = {0}, xform2 = {0};
|
||||
NTSTATUS Status = STATUS_SUCCESS;
|
||||
BOOL Ret;
|
||||
|
||||
|
@ -425,7 +425,7 @@ NtGdiModifyWorldTransform(HDC hDC,
|
|||
DWORD Mode)
|
||||
{
|
||||
PDC dc;
|
||||
XFORM SafeXForm;
|
||||
XFORM SafeXForm = {0};
|
||||
NTSTATUS Status = STATUS_SUCCESS;
|
||||
|
||||
dc = DC_LockDc(hDC);
|
||||
|
|
|
@ -106,7 +106,7 @@ IntGdiOffsetRect(LPRECT Rect, INT x, INT y)
|
|||
BOOL STDCALL
|
||||
NtGdiOffsetRect(LPRECT UnsafeRect, INT x, INT y)
|
||||
{
|
||||
RECT Rect;
|
||||
RECT Rect = {0};
|
||||
NTSTATUS Status = STATUS_SUCCESS;
|
||||
|
||||
_SEH_TRY
|
||||
|
@ -298,7 +298,7 @@ IntGdiIntersectRect(PRECT Dest, const RECT* Src1, const RECT* Src2)
|
|||
BOOL STDCALL
|
||||
NtGdiIntersectRect(PRECT UnsafeDest, const RECT* UnsafeSrc1, const RECT* UnsafeSrc2)
|
||||
{
|
||||
RECT Dest, Src1, Src2;
|
||||
RECT Dest, Src1, Src2 = {0};
|
||||
NTSTATUS Status = STATUS_SUCCESS;
|
||||
BOOL Ret;
|
||||
|
||||
|
|
|
@ -2635,7 +2635,7 @@ NtGdiRectInRegion(HRGN hRgn,
|
|||
CONST LPRECT unsaferc)
|
||||
{
|
||||
PROSRGNDATA Rgn;
|
||||
RECT rc;
|
||||
RECT rc = {0};
|
||||
BOOL Ret;
|
||||
NTSTATUS Status = STATUS_SUCCESS;
|
||||
|
||||
|
|
Loading…
Reference in a new issue