Bug 1154831 - Remove the gcc-4.6-warning-silencing code in ErrorResult::ErrorResult; r=bzbarsky

This commit is contained in:
Ehsan Akhgari 2015-04-15 14:21:03 -04:00
parent 96367a52b4
commit aed12567f8

View File

@ -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