https://git.reactos.org/?p=reactos.git;a=commitdiff;h=fb48381cb490312e57cb5…
commit fb48381cb490312e57cb5df7d0a20e12b2b774c1
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Mon Jul 2 11:45:01 2018 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Wed Aug 8 21:45:46 2018 +0200
[CMLIB] Simplify an ASSERTMSG() as an ASSERT().
---
sdk/lib/cmlib/cmindex.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdk/lib/cmlib/cmindex.c b/sdk/lib/cmlib/cmindex.c
index 618de3f35d..599900124d 100644
--- a/sdk/lib/cmlib/cmindex.c
+++ b/sdk/lib/cmlib/cmindex.c
@@ -1285,7 +1285,7 @@ CmpSelectLeaf(IN PHHIVE Hive,
if (!IndexKey)
{
/* Should not happen! */
- ASSERTMSG("IndexKey = NULL!, it should not happen!\n", FALSE);
+ ASSERT(IndexKey != NULL);
return HCELL_NIL;
}