Last Comment Bug 665359 - Remove unused variable res from nsHTMLEditor::AddPositioningOffset
: Remove unused variable res from nsHTMLEditor::AddPositioningOffset
Status: VERIFIED FIXED
[build_warning]
:
Product: Core
Classification: Components
Component: Editor (show other bugs)
: Trunk
: All All
: -- normal (vote)
: mozilla7
Assigned To: Ed Morley [:emorley]
:
Mentors:
http://mxr.mozilla.org/mozilla-centra...
Depends on:
Blocks: buildwarning 664437
  Show dependency treegraph
 
Reported: 2011-06-19 09:44 PDT by Ed Morley [:emorley]
Modified: 2011-09-12 07:14 PDT (History)
2 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Remove unused variable (791 bytes, patch)
2011-06-19 11:15 PDT, Ed Morley [:emorley]
ehsan: review+
Details | Diff | Review

Description Ed Morley [:emorley] 2011-06-19 09:44:00 PDT
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 }
Comment 1 Ed Morley [:emorley] 2011-06-19 11:15:18 PDT
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
Comment 2 Ed Morley [:emorley] 2011-06-20 09:25:56 PDT
http://dev.philringnalda.com/tbpl/?tree=Try&rev=0f7f8aa6e296
Comment 3 :Ehsan Akhgari (busy, don't ask for review please) 2011-06-20 11:56:33 PDT
http://hg.mozilla.org/mozilla-central/rev/50b63701fc01
Comment 4 Ioana (away) 2011-09-12 07:14:22 PDT
The nsresult res variable has been removed from nsHTMLAbsPosition.cpp - visible when opening the .cpp file or the link in the above comment.

Note You need to log in before you can comment on or make changes to this bug.