Closed Bug 699691 Opened 13 years ago Closed 13 years ago

Remove an unused argument to ino2name in {js/src/,}config/pathsub.{c,h}

Categories

(Firefox Build System :: General, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED
mozilla10

People

(Reporter: Waldo, Assigned: Waldo)

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
Clang warns about this when I build the JS shell.  I'd like to silence it.

There are four (count 'em) different copies of pathsub.{c,h} in the tree: these two, one in NSPR, and one in NSS.  I'm pretty sure I shouldn't touch the NSPR one.  I'm less certain about NSS but am erring on the side of caution.
Attachment #571871 - Flags: review?(ted.mielczarek)
Comment on attachment 571871 [details] [diff] [review]
Patch

Review of attachment 571871 [details] [diff] [review]:
-----------------------------------------------------------------

I don't claim to really know what all this code is doing, but this seems trivially correct.
Attachment #571871 - Flags: review?(ted.mielczarek) → review+
That makes two of us.  :-)  An unused variable has no relevance, so...yeah.

https://hg.mozilla.org/integration/mozilla-inbound/rev/be3714af7869
Target Milestone: --- → mozilla10
Summary: Remove an unused argument to ino2name in {js/src/,}config/pathsub.{c,} → Remove an unused argument to ino2name in {js/src/,}config/pathsub.{c,h}
https://hg.mozilla.org/mozilla-central/rev/be3714af7869
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: