Closed Bug 504172 Opened 11 years ago Closed 11 years ago

useless null check of first in nsXULPopupManager::Rollup

Categories

(Core :: XUL, defect, trivial)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED

People

(Reporter: timeless, Assigned: timeless)

References

(Blocks 1 open bug)

Details

(Keywords: coverity)

Attachments

(1 file)

190  	      while (first->GetParent())
191  	        first = first->GetParent();
192  	      if (first)
193  	        NS_ADDREF(*aLastRolledUp = first->Content());
Attachment #388547 - Flags: review?(roc)
http://hg.mozilla.org/mozilla-central/rev/f33661125d08
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.