Remove unused variable res from nsHTMLEditor::AddPositioningOffset

VERIFIED FIXED in mozilla7

Status

()

Core
Editor
VERIFIED FIXED
6 years ago
6 years ago

People

(Reporter: emorley, Assigned: emorley)

Tracking

(Blocks: 1 bug)

Trunk
mozilla7
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [build_warning], URL)

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
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 }
(Assignee)

Updated

6 years ago
Blocks: 187528
(Assignee)

Comment 1

6 years ago
Created attachment 540334 [details] [diff] [review]
Remove unused variable

Was made unused by bug 664437, here: http://hg.mozilla.org/mozilla-central/diff/f81579f78f92/editor/libeditor/html/nsHTMLAbsPosition.cpp
Attachment #540334 - Flags: review?(ehsan)
(Assignee)

Updated

6 years ago
Blocks: 664437
(Assignee)

Comment 2

6 years ago
http://dev.philringnalda.com/tbpl/?tree=Try&rev=0f7f8aa6e296
Attachment #540334 - Flags: review?(ehsan) → review+
(Assignee)

Updated

6 years ago
Keywords: checkin-needed
http://hg.mozilla.org/mozilla-central/rev/50b63701fc01
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla7

Comment 4

6 years ago
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.