Bug 1392688 Make variable DebugOnly to silence warning about it being unused r=jld

MozReview-Commit-ID: 7wSkP2Lcd0W

--HG--
extra : rebase_source : 1aa49424442f9bc278c257a3a65d93b22f04aea8
This commit is contained in:
Tom Ritter 2017-08-22 12:41:24 -05:00
parent ddb8b492b5
commit 9f954680d0

2
ipc/mscom/EnsureMTA.cpp Normal file → Executable file
View File

@ -33,7 +33,7 @@ public:
BackgroundMTAData()
{
nsCOMPtr<nsIRunnable> runnable = new EnterMTARunnable();
nsresult rv = NS_NewNamedThread("COM MTA",
mozilla::DebugOnly<nsresult> rv = NS_NewNamedThread("COM MTA",
getter_AddRefs(mThread), runnable);
NS_WARNING_ASSERTION(NS_SUCCEEDED(rv), "NS_NewNamedThread failed");
MOZ_ASSERT(NS_SUCCEEDED(rv));