Skip to content

Commit

Permalink
Bug 562580 - warning: 'resource' may be used uninitialized in RDFCont…
Browse files Browse the repository at this point in the history
…entSinkImpl::~RDFContentSinkImpl(), r=jst, a=nthomas for the CLOSED TREE
  • Loading branch information
timeless@mozdev.org committed May 7, 2010
1 parent 4fe08d7 commit 51eb7b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdf/base/src/nsRDFContentSink.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 51eb7b8

Please sign in to comment.