mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 09:24:11 +00:00
Fixed usage of uninitialized variable warning
svn path=/trunk/; revision=24549
This commit is contained in:
parent
3b6c356260
commit
9d10081480
|
@ -34,7 +34,11 @@ RtlpFindGenericTableNodeOrParent(IN PRTL_GENERIC_TABLE Table,
|
||||||
RTL_GENERIC_COMPARE_RESULTS Result;
|
RTL_GENERIC_COMPARE_RESULTS Result;
|
||||||
|
|
||||||
/* Quick check to see if the table is empty */
|
/* Quick check to see if the table is empty */
|
||||||
if (RtlIsGenericTableEmpty(Table)) return TableEmptyTree;
|
if (RtlIsGenericTableEmpty(Table))
|
||||||
|
{
|
||||||
|
*NodeOrParent = NULL;
|
||||||
|
return TableEmptyTree;
|
||||||
|
}
|
||||||
|
|
||||||
/* Set the current node */
|
/* Set the current node */
|
||||||
CurrentNode = Table->TableRoot;
|
CurrentNode = Table->TableRoot;
|
||||||
|
|
Loading…
Reference in a new issue