mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
Correct uninitialized warnings for Status in two places.
svn path=/trunk/; revision=11762
This commit is contained in:
parent
27e4ae606f
commit
3adacc20ec
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
@ -43,7 +43,7 @@ IntAddAtom(LPWSTR AtomName)
|
|||
}
|
||||
WinStaObject = PsGetWin32Thread()->Desktop->WindowStation;
|
||||
Status = RtlAddAtomToAtomTable(WinStaObject->AtomTable,
|
||||
AtomName, &Atom);
|
||||
AtomName, &Atom);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
SetLastNtError(Status);
|
||||
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue