Closed Bug 219573 Opened 21 years ago Closed 21 years ago

compile warning - unused variables in nsSelection.cpp

Categories

(Core :: DOM: Selection, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jaas, Assigned: mjudge)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5b) Gecko/20030914 Camino/0.7+ Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5b) Gecko/20030914 Camino/0.7+ In the file: mozilla/content/base/src/nsSelection.cpp there are several unused variables. Reproducible: Always Steps to Reproduce: 1. Compile Mozilla on Mac OS X with GCC 3.1 2. 3. Actual Results: I get a warning about these 3 unused variables. Expected Results: Not give a warning - not contain unused variables.
It should be OK to kill these variables.
Please use the -p switch to diff when making patches, and include more context (3 lines is not enough to usefully review changes like this one, typically; 6-10 lines is better).
Assignee: general → mjudge
Status: UNCONFIRMED → NEW
Component: Browser-General → Selection
Ever confirmed: true
QA Contact: general → pmac
Comment on attachment 131675 [details] [diff] [review] patch to get rid of unused variables sr=bzbarsky if those are actually unused. I can check this in after the 23rd (if you remind me); if you find someone to do it before then, great. It needs r= first, of course.
Attachment #131675 - Flags: superreview+
Attachment #131675 - Flags: review?(peterv)
Attachment #131675 - Flags: review?(peterv) → review+
Checked in by mkaply.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: