Closed Bug 693159 Opened 15 years ago Closed 11 years ago

Unnecessary return statement in nsGenericHTMLElement::Blur

Categories

(Firefox :: General, defect)

7 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: takayuki988, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 Build ID: 20110930134335 Steps to reproduce: Just watching the follow source code. http://mxr.mozilla.org/mozilla-central/source/content/html/content/src/nsGenericHTMLElement.cpp Actual results: I found an unnecessary return statement in nsGenericHTMLElement::Blur. Expected results: Line 3404 "return NS_OK;" can be removed.
Hi Takayuki, I am interested in doing this bug, as I understand, that the fix is just to remove this line? why is the return statement not used? Thanks Jesal
Flags: needinfo?(takayuki988)
This was very old issue in http://mxr.mozilla.org/mozilla-release/source/content/html/content/src/nsGenericHTMLElement.cpp?rev=8cfeba5239a9 Latest code seems to be changed and unnecessary to fix. Please close the bug. Thank you.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(takayuki988)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.