mirror of
https://github.com/reactos/reactos.git
synced 2025-06-14 23:48:29 +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)
|
IntAddAtom(LPWSTR AtomName)
|
||||||
{
|
{
|
||||||
PWINSTATION_OBJECT WinStaObject;
|
PWINSTATION_OBJECT WinStaObject;
|
||||||
NTSTATUS Status;
|
NTSTATUS Status = STATUS_SUCCESS;
|
||||||
RTL_ATOM Atom;
|
RTL_ATOM Atom;
|
||||||
|
|
||||||
if (PsGetWin32Thread()->Desktop == NULL)
|
if (PsGetWin32Thread()->Desktop == NULL)
|
||||||
|
@ -56,7 +56,7 @@ ULONG FASTCALL
|
||||||
IntGetAtomName(RTL_ATOM nAtom, LPWSTR lpBuffer, ULONG nSize)
|
IntGetAtomName(RTL_ATOM nAtom, LPWSTR lpBuffer, ULONG nSize)
|
||||||
{
|
{
|
||||||
PWINSTATION_OBJECT WinStaObject;
|
PWINSTATION_OBJECT WinStaObject;
|
||||||
NTSTATUS Status;
|
NTSTATUS Status = STATUS_SUCCESS;
|
||||||
ULONG Size = nSize;
|
ULONG Size = nSize;
|
||||||
|
|
||||||
if (PsGetWin32Thread()->Desktop == NULL)
|
if (PsGetWin32Thread()->Desktop == NULL)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue