mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
189630 r=bbaetz sr=dbaron uninitialized nsresult in nsIIOService
This commit is contained in:
parent
5bc0f27843
commit
de3a76138d
@ -181,7 +181,7 @@ nsIOService::Init()
|
||||
// Hold onto the eventQueue service. We do not want any eventqueues to go away
|
||||
// when we shutdown until we process all remaining transports
|
||||
|
||||
mEventQueueService = do_GetService(NS_EVENTQUEUESERVICE_CONTRACTID);
|
||||
mEventQueueService = do_GetService(NS_EVENTQUEUESERVICE_CONTRACTID, &rv);
|
||||
if (NS_FAILED(rv))
|
||||
NS_WARNING("failed to get event queue service");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user