]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Remove PANIC() macro in favor of Panic() or VERIFY()
authorJohn Wolfe <jwolfe@vmware.com>
Fri, 11 Sep 2020 19:11:04 +0000 (12:11 -0700)
committerJohn Wolfe <jwolfe@vmware.com>
Fri, 11 Sep 2020 19:11:04 +0000 (12:11 -0700)
open-vm-tools/lib/include/vm_assert.h

index 9995deaa8c61c4403c7c33b9e5f3447040574ffb..ddcf673c36c62ea975e2486288f7bb636e10796c 100644 (file)
@@ -120,7 +120,6 @@ extern "C" {
 
 
 // These strings don't have newline so that a bug can be tacked on.
-#define _AssertPanicFmt            "PANIC %s:%d"
 #define _AssertAssertFmt           "ASSERT %s:%d"
 #define _AssertVerifyFmt           "VERIFY %s:%d"
 #define _AssertNotImplementedFmt   "NOT_IMPLEMENTED %s:%d"
@@ -199,8 +198,6 @@ void WarningThrottled(uint32 *count, const char *fmt, ...) PRINTF_DECL(2, 3);
 #define VERIFY_BUG(bug, cond) \
            ASSERT_IFNOT(cond, _ASSERT_PANIC_BUG_NORETURN(bug, AssertVerify))
 
-#define PANIC()        _ASSERT_PANIC(AssertPanic)
-
 #define ASSERT_NOT_IMPLEMENTED(cond) \
            ASSERT_IFNOT(cond, NOT_IMPLEMENTED())