Closed Bug 1068417 Opened 10 years ago Closed 10 years ago

Fix -Wunused-const-variable warnings in widget/cocoa

Categories

(Core :: Widget: Cocoa, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla35
Tracking Status
firefox32 --- unaffected
firefox33 --- affected
firefox34 --- wontfix
firefox35 --- fixed

People

(Reporter: cpeterson, Assigned: cpeterson)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Bug 899334 removed the reference to kIconBytes:

widget/cocoa/nsMenuItemIconX.mm:54:23 [-Wunused-const-variable] unused variable 'kIconBytes'

And the following constants are no longer necessary because they are only used to define (removed) kIconBytes:

kIconBitsPerComponent
kIconComponents
kIconBitsPerPixel
kIconBytesPerRow
kIconBytes
Attachment #8490470 - Flags: review?(mstange)
I forgot to mention that this patch also removes some trailing whitespace in the same source file (nsMenuItemIconX.mm).
Attachment #8490470 - Flags: review?(mstange) → review+
https://hg.mozilla.org/mozilla-central/rev/3d53de50d5a6
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Flags: qe-verify-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: