From aed12567f8d40f7c65944f1c8cd02c220d10a541 Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Wed, 15 Apr 2015 14:21:03 -0400 Subject: [PATCH] Bug 1154831 - Remove the gcc-4.6-warning-silencing code in ErrorResult::ErrorResult; r=bzbarsky --- dom/bindings/ErrorResult.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dom/bindings/ErrorResult.h b/dom/bindings/ErrorResult.h index 0fd98d8b707..a469b8de1f0 100644 --- a/dom/bindings/ErrorResult.h +++ b/dom/bindings/ErrorResult.h @@ -47,10 +47,6 @@ public: mResult = NS_OK; #ifdef DEBUG - // ErrorResult is extremely performance-sensitive code, where literally - // every machine instruction matters. Initialize mMessage only to suppress - // a debug-only warning from gcc 4.6. - mMessage = nullptr; mMightHaveUnreportedJSException = false; mHasMessage = false; #endif