Closed Bug 301385 Opened 19 years ago Closed 19 years ago

static EnumHelp function is unused

Categories

(Toolkit :: Startup and Profile System, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla1.8beta4

People

(Reporter: darin.moz, Assigned: benjamin)

Details

(Whiteboard: has patch with review)

Attachments

(1 file)

I noticed while reading through nsCommandLine.cpp that the static function
EnumHelp is unused.  It seems to me that it should be used from
nsCommandLine::GetHelpText, but it is not.  Instead, that function calls
EnumRun.  That seems pretty wrong to me.
Yeah, this really seems to be broken.  When I run "firefox -help" I see
exceptions from nsBrowserContentHandler.js about not being able to open a new
window.
OS: Linux → All
Hardware: PC → All
Status: NEW → ASSIGNED
Flags: blocking1.8b4+
*blush*
Attachment #189928 - Flags: first-review?(darin)
Attachment #189928 - Flags: first-review?(darin) → first-review+
Attachment #189928 - Flags: approval1.8b4?
Priority: -- → P1
Whiteboard: has patch with review
Target Milestone: --- → mozilla1.8beta4
Comment on attachment 189928 [details] [diff] [review]
Use EnumHelp, rev. 1

a=shaver
Attachment #189928 - Flags: approval1.8b4? → approval1.8b4+
Fixed on trunk for 1.8b4
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Component: XRE Startup → Startup and Profile System
QA Contact: nobody → startup
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: