Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
Bug 665387 - Remove unused variable document from nsHtml5TreeOperatio…
Browse files Browse the repository at this point in the history
…n::Perform; r=hsivonen
  • Loading branch information
Ed Morley committed Jun 21, 2011
1 parent 1016771 commit 42d11aa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions parser/html/nsHtml5TreeOperation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,6 @@ nsHtml5TreeOperation::Perform(nsHtml5TreeOpExecutor* aBuilder,
nsHtml5OtherDocUpdate update(node->GetOwnerDoc(),
aBuilder->GetDocument());

nsIDocument* document = node->GetCurrentDoc();

PRInt32 len = attributes->getLength();
for (PRInt32 i = len; i > 0;) {
--i;
Expand Down

0 comments on commit 42d11aa

Please sign in to comment.