diff --git a/mfbt/Assertions.h b/mfbt/Assertions.h index 51e0dea46df8..52e9dd4df7e5 100644 --- a/mfbt/Assertions.h +++ b/mfbt/Assertions.h @@ -596,7 +596,7 @@ struct AssertionConditionType * } */ #ifdef DEBUG -# define MOZ_FALLTHROUGH_ASSERT(reason) MOZ_CRASH("MOZ_FALLTHROUGH_ASSERT: " reason) +# define MOZ_FALLTHROUGH_ASSERT(...) MOZ_CRASH("MOZ_FALLTHROUGH_ASSERT: " __VA_ARGS__) #else # define MOZ_FALLTHROUGH_ASSERT(...) MOZ_FALLTHROUGH #endif