Correct uninitialized warnings for Status in two places.

svn path=/trunk/; revision=11762
This commit is contained in:
Art Yerkes 2004-11-21 19:51:37 +00:00
parent 27e4ae606f
commit 3adacc20ec

View file

@ -33,7 +33,7 @@ RTL_ATOM FASTCALL
IntAddAtom(LPWSTR AtomName)
{
PWINSTATION_OBJECT WinStaObject;
NTSTATUS Status;
NTSTATUS Status = STATUS_SUCCESS;
RTL_ATOM Atom;
if (PsGetWin32Thread()->Desktop == NULL)
@ -56,7 +56,7 @@ ULONG FASTCALL
IntGetAtomName(RTL_ATOM nAtom, LPWSTR lpBuffer, ULONG nSize)
{
PWINSTATION_OBJECT WinStaObject;
NTSTATUS Status;
NTSTATUS Status = STATUS_SUCCESS;
ULONG Size = nSize;
if (PsGetWin32Thread()->Desktop == NULL)