mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
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:
parent
ddb8b492b5
commit
9f954680d0
2
ipc/mscom/EnsureMTA.cpp
Normal file → Executable file
2
ipc/mscom/EnsureMTA.cpp
Normal file → Executable 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));
|
||||
|
Loading…
Reference in New Issue
Block a user