mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:33:10 +00:00
Fixed usage of uninitialized variable warning
svn path=/trunk/; revision=24549
This commit is contained in:
parent
3b6c356260
commit
9d10081480
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue