diff --git a/reactos/lib/rtl/unicodeprefix.c b/reactos/lib/rtl/unicodeprefix.c index f8851ae5130..bed8483d788 100644 --- a/reactos/lib/rtl/unicodeprefix.c +++ b/reactos/lib/rtl/unicodeprefix.c @@ -10,7 +10,7 @@ #include -#define NDEBUG +//#define NDEBUG #include /* @@ -179,7 +179,8 @@ RtlFindUnicodePrefix(PUNICODE_PREFIX_TABLE PrefixTable, DPRINT("CurrentEntry->NameLength %lx\n", CurrentEntry->NameLength); /* Get the splay links and loop */ - while ((SplayLinks = &CurrentEntry->Links)) + SplayLinks = &CurrentEntry->Links; + while (SplayLinks) { /* Get the entry */ DPRINT("SplayLinks %p\n", SplayLinks);