https://git.reactos.org/?p=reactos.git;a=commitdiff;h=db55933b0ca1a095f8e3136053ae8b514c3dc908

commit db55933b0ca1a095f8e3136053ae8b514c3dc908
Author:     Mark Jansen <[email protected]>
AuthorDate: Fri Jan 24 20:09:07 2020 +0100
Commit:     Mark Jansen <[email protected]>
CommitDate: Wed Jan 29 22:58:43 2020 +0100

    [CMLIB] Use UNIMPLEMENTED_ONCE in HvHiveWillShrink
---
 sdk/include/host/typedefs.h | 1 +
 sdk/lib/cmlib/hivewrt.c     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/sdk/include/host/typedefs.h b/sdk/include/host/typedefs.h
index d3bea3bbcef..eaa2c9f5c06 100644
--- a/sdk/include/host/typedefs.h
+++ b/sdk/include/host/typedefs.h
@@ -27,6 +27,7 @@
 
 /* Basic definitions */
 #define UNIMPLEMENTED { printf("%s unimplemented\n", __FUNCTION__); exit(1); }
+#define UNIMPLEMENTED_ONCE { printf("%s unimplemented\n", __FUNCTION__); 
exit(1); }
 #define ASSERT(x) assert(x)
 #define ASSERTMSG(m, x) assert(x)
 #define DPRINT if (0) printf
diff --git a/sdk/lib/cmlib/hivewrt.c b/sdk/lib/cmlib/hivewrt.c
index ef4ceb001b6..76bf72b1b45 100644
--- a/sdk/lib/cmlib/hivewrt.c
+++ b/sdk/lib/cmlib/hivewrt.c
@@ -277,7 +277,7 @@ CMAPI
 HvHiveWillShrink(IN PHHIVE RegistryHive)
 {
     /* No shrinking yet */
-    UNIMPLEMENTED;
+    UNIMPLEMENTED_ONCE;
     return FALSE;
 }
 

Reply via email to