зеркало из https://github.com/mozilla/pjs.git
Bug 562580 - warning: 'resource' may be used uninitialized in RDFContentSinkImpl::~RDFContentSinkImpl(), r=jst, a=nthomas for the CLOSED TREE
This commit is contained in:
Родитель
41af72ae6c
Коммит
15850cad9e
|
@ -363,7 +363,7 @@ RDFContentSinkImpl::~RDFContentSinkImpl()
|
|||
// pop all the elements off the stack and release them.
|
||||
PRInt32 i = mContextStack->Length();
|
||||
while (0 < i--) {
|
||||
nsIRDFResource* resource;
|
||||
nsIRDFResource* resource = nsnull;
|
||||
RDFContentSinkState state;
|
||||
RDFContentSinkParseMode parseMode;
|
||||
PopContext(resource, state, parseMode);
|
||||
|
|
Загрузка…
Ссылка в новой задаче