[CMLIB] Use UNIMPLEMENTED_ONCE in HvHiveWillShrink

This commit is contained in:
Mark Jansen 2020-01-24 20:09:07 +01:00
parent bbc97e964f
commit db55933b0c
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B
2 changed files with 2 additions and 1 deletions

View file

@ -27,6 +27,7 @@
/* Basic definitions */ /* Basic definitions */
#define UNIMPLEMENTED { printf("%s unimplemented\n", __FUNCTION__); exit(1); } #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 ASSERT(x) assert(x)
#define ASSERTMSG(m, x) assert(x) #define ASSERTMSG(m, x) assert(x)
#define DPRINT if (0) printf #define DPRINT if (0) printf

View file

@ -277,7 +277,7 @@ CMAPI
HvHiveWillShrink(IN PHHIVE RegistryHive) HvHiveWillShrink(IN PHHIVE RegistryHive)
{ {
/* No shrinking yet */ /* No shrinking yet */
UNIMPLEMENTED; UNIMPLEMENTED_ONCE;
return FALSE; return FALSE;
} }