Author: weiden
Date: Mon Oct 16 19:55:33 2006
New Revision: 24549
URL:
http://svn.reactos.org/svn/reactos?rev=24549&view=rev
Log:
Fixed usage of uninitialized variable warning
Modified:
trunk/reactos/lib/rtl/generictable.c
Modified: trunk/reactos/lib/rtl/generictable.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/generictable.c?rev…
==============================================================================
--- trunk/reactos/lib/rtl/generictable.c (original)
+++ trunk/reactos/lib/rtl/generictable.c Mon Oct 16 19:55:33 2006
@@ -34,7 +34,11 @@
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;