Author: ion
Date: Mon Sep 10 15:32:43 2012
New Revision: 57264
URL:
http://svn.reactos.org/svn/reactos?rev=57264&view=rev
Log:
[CMLIB]: Forgot part of last patch.
Modified:
trunk/reactos/lib/cmlib/cmlib.h
Modified: trunk/reactos/lib/cmlib/cmlib.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/cmlib/cmlib.h?rev=5726…
==============================================================================
--- trunk/reactos/lib/cmlib/cmlib.h [iso-8859-1] (original)
+++ trunk/reactos/lib/cmlib/cmlib.h [iso-8859-1] Mon Sep 10 15:32:43 2012
@@ -242,8 +242,11 @@
PHHIVE RegistryHive,
HCELL_INDEX CellOffset);
-#define HvReleaseCell(h, c) \
- if (h->ReleaseCellRoutine) h->ReleaseCellRoutine(h, c)
+#define HvReleaseCell(h, c) \
+do { \
+ if ((h)->ReleaseCellRoutine) \
+ (h)->ReleaseCellRoutine(h, c); \
+} while(0)
LONG CMAPI
HvGetCellSize(