From 185a027640f9b18c97eda39a49bfa2dcce58fcdb Mon Sep 17 00:00:00 2001 From: Moonchild Date: Fri, 4 Feb 2022 01:44:41 +0000 Subject: Issue #1877 - Resolve RELEASE_OR_BETA conditionals. --- mfbt/Assertions.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'mfbt') diff --git a/mfbt/Assertions.h b/mfbt/Assertions.h index d4e7febdf1..cc4735071d 100644 --- a/mfbt/Assertions.h +++ b/mfbt/Assertions.h @@ -440,11 +440,7 @@ struct AssertionConditionType # define MOZ_ASSERT(...) do { } while (0) #endif /* DEBUG */ -#ifdef RELEASE_OR_BETA -# define MOZ_DIAGNOSTIC_ASSERT MOZ_ASSERT -#else -# define MOZ_DIAGNOSTIC_ASSERT MOZ_RELEASE_ASSERT -#endif +#define MOZ_DIAGNOSTIC_ASSERT MOZ_ASSERT /* * MOZ_ASSERT_IF(cond1, cond2) is equivalent to MOZ_ASSERT(cond2) if cond1 is -- cgit v1.2.3