mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1154831 - Remove the gcc-4.6-warning-silencing code in ErrorResult::ErrorResult; r=bzbarsky
This commit is contained in:
parent
96367a52b4
commit
aed12567f8
@ -47,10 +47,6 @@ public:
|
|||||||
mResult = NS_OK;
|
mResult = NS_OK;
|
||||||
|
|
||||||
#ifdef DEBUG
|
#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;
|
mMightHaveUnreportedJSException = false;
|
||||||
mHasMessage = false;
|
mHasMessage = false;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user