зеркало из https://github.com/mozilla/gecko-dev.git
Bug 94859 silence compiler warning about unused variable r=rginda, sr=jband
This commit is contained in:
Родитель
c5f8a4c5c3
Коммит
0b484536e8
|
@ -2869,8 +2869,13 @@ public:
|
|||
mOld(mTLS->SetResolveName(name)),
|
||||
mCheck(name) {}
|
||||
~AutoResolveName()
|
||||
{jsval old = mTLS->SetResolveName(mOld);
|
||||
NS_ASSERTION(old == mCheck, "Bad Nesting!");}
|
||||
{
|
||||
#ifdef DEBUG
|
||||
jsval old =
|
||||
#endif
|
||||
mTLS->SetResolveName(mOld);
|
||||
NS_ASSERTION(old == mCheck, "Bad Nesting!");
|
||||
}
|
||||
|
||||
private:
|
||||
XPCPerThreadData* mTLS;
|
||||
|
|
Загрузка…
Ссылка в новой задаче