Fixed usage of uninitialized variable warning

svn path=/trunk/; revision=24549
This commit is contained in:
Thomas Bluemel 2006-10-16 15:55:33 +00:00
parent 3b6c356260
commit 9d10081480

View file

@ -34,7 +34,11 @@ RtlpFindGenericTableNodeOrParent(IN PRTL_GENERIC_TABLE Table,
RTL_GENERIC_COMPARE_RESULTS Result;
/* 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 */
CurrentNode = Table->TableRoot;