Bug 772738 - Avoid "unused variable 'tmp'" warnings for empty CC traverse method implementations; r=smaug

This commit is contained in:
Ehsan Akhgari 2012-07-11 00:26:56 -04:00
parent a53e7f57c2
commit b3a3876f4b

View File

@ -601,6 +601,7 @@ public:
that->Trace(p, &nsScriptObjectTracer::NoteJSChild, &cb);
#define NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END \
(void)tmp; \
return NS_OK; \
}