mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 577913 mark DEBUG only variables as ifdef DEBUG in xpconnect; r=mrbkap a=jst
--HG-- extra : rebase_source : ce14e3eb2ea17a5350cbb85af355b89c5d002fce
This commit is contained in:
parent
c4d09902c6
commit
bf00e23933
@ -661,7 +661,11 @@ XPCNativeSet::GetNewOrUsed(XPCCallContext& ccx, nsIClassInfo* classInfo)
|
||||
if(set)
|
||||
{ // scoped lock
|
||||
XPCAutoLock lock(rt->GetMapLock());
|
||||
XPCNativeSet* set2 = map->Add(classInfo, set);
|
||||
|
||||
#ifdef DEBUG
|
||||
XPCNativeSet* set2 =
|
||||
#endif
|
||||
map->Add(classInfo, set);
|
||||
NS_ASSERTION(set2, "failed to add our set!");
|
||||
NS_ASSERTION(set2 == set, "hashtables inconsistent!");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user