From 5a6ee4e222648baf2d20ca82bf3ffbfaa8cf1ae9 Mon Sep 17 00:00:00 2001 From: Chris Peterson Date: Wed, 10 Feb 2016 22:09:53 -0800 Subject: [PATCH] Bug 1247535 - Fix -Wunreachable-code warning in mfbt/Poison.cpp. r=froydnj mfbt/Poison.cpp:165:26: warning: will never be executed [-Wunreachable-code] --- mfbt/Poison.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mfbt/Poison.cpp b/mfbt/Poison.cpp index 1e1c3f2d859b..b2767011d5fb 100644 --- a/mfbt/Poison.cpp +++ b/mfbt/Poison.cpp @@ -192,9 +192,7 @@ ReservePoisonArea(uintptr_t rgnsize) return uintptr_t(result); } - // no usable poison region identified - MOZ_CRASH(); - return 0; + MOZ_CRASH("no usable poison region identified"); } void