Closed Bug 665359 Opened 13 years ago Closed 13 years ago

Remove unused variable res from nsHTMLEditor::AddPositioningOffset

Categories

(Core :: DOM: Editor, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla7

People

(Reporter: emorley, Assigned: emorley)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [build_warning])

Attachments

(1 file)

501 void
502 nsHTMLEditor::AddPositioningOffset(PRInt32 & aX, PRInt32 & aY)
503 {
504   // Get the positioning offset
505   nsresult res;
506   PRInt32 positioningOffset =
507     Preferences::GetInt("editor.positioning.offset", 0);
508 
509   aX += positioningOffset;
510   aY += positioningOffset;
511 }
Blocks: buildwarning
Blocks: 664437
Attachment #540334 - Flags: review?(ehsan) → review+
Keywords: checkin-needed
http://hg.mozilla.org/mozilla-central/rev/50b63701fc01
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla7
The nsresult res variable has been removed from nsHTMLAbsPosition.cpp - visible when opening the .cpp file or the link in the above comment.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: