Closed Bug 1344356 Opened 8 years ago Closed 8 years ago

-Wunused-lambda-capture build warnings in gfx code

Categories

(Core :: Graphics: Layers, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox54 --- wontfix
firefox55 --- fixed

People

(Reporter: dholbert, Assigned: rhunt)

References

Details

(Whiteboard: [gfx-noted])

Attachments

(1 file)

clang trunk has added a new build warning "-Wunused-lambda-capture" for variables captured by lambda functions & then unused. Filing this bug for 2 instances in gfx/layers code: gfx/layers/composite/AsyncCompositionManager.cpp:809:15 [-Wunused-lambda-capture] lambda capture 'aOutFoundRoot' is not used gfx/layers/ipc/CompositorBridgeParent.cpp:469:31 [-Wunused-lambda-capture] lambda capture 'this' is not use }
Attached patch fix-unused.patchSplinter Review
Attachment #8844016 - Flags: review?(bugmail)
Assignee: nobody → rhunt
Whiteboard: [gfx-noted]
Comment on attachment 8844016 [details] [diff] [review] fix-unused.patch Review of attachment 8844016 [details] [diff] [review]: ----------------------------------------------------------------- Thanks! Make sure to put the bug number in the commit message.
Attachment #8844016 - Flags: review?(bugmail) → review+
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: