Closed Bug 1010612 Opened 10 years ago Closed 10 years ago

js/src/jsdate.cpp:3156:25: warning: unused variable 'sReadOnlyDateMethods' [-Wunused-const-variable]

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla32

People

(Reporter: dholbert, Assigned: dholbert)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

Build warning, in clang --disable-unified-compilation builds:
{
js/src/jsdate.cpp:3156:25: warning: unused variable 'sReadOnlyDateMethods' [-Wunused-const-variable]
}

Last usage of this variable was removed in bug 975042, here:
http://hg.mozilla.org/mozilla-central/rev/c6d6fcd028fd#l1.21
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Depends on: 975042
Attached patch fix v1 (obsolete) — Splinter Review
Requesting review from bholley, since he removed the last usage.

For good measure, here's a MXR search showing no usages:
 http://mxr.mozilla.org/mozilla-central/search?string=sReadOnlyDateMethods
Attachment #8422834 - Flags: review?(bobbyholley)
oops, that patch includes some unrelated tweaks. New version coming in a sec...
Attached patch fix v2Splinter Review
Attachment #8422834 - Attachment is obsolete: true
Attachment #8422834 - Flags: review?(bobbyholley)
Attachment #8422839 - Flags: review?(bobbyholley)
Attachment #8422839 - Flags: review?(bobbyholley) → review+
https://hg.mozilla.org/mozilla-central/rev/4d4741b1c7ae
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: