Closed Bug 1375385 (Wunused-lambda-capture) Opened 7 years ago Closed 6 years ago

[meta] Fix -Wunused-lambda-capture warnings

Categories

(Developer Infrastructure :: Source Code Analysis, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Sylvestre, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: meta)

      No description provided.
Alias: Wunused-lambda-capture
Depends on: 1375386
This is a meta bug to keep track of specific warnings. Don't think we want to close it.
Flags: needinfo?(sledru)
Depends on: 1396643
Depends on: 1406980
Depends on: 1412254
No longer depends on: 1412254
Depends on: 1412547
Product: Core → Firefox Build System
We can resolve this bug as fixed. There are currently only four -Wunused-lambda-capture warnings and they're all in third-party WebRTC code that does not treat warnings as errors. -Wunused-lambda-capture is enabled by -Wall, so we don't need to explicitly enable it.

media/webrtc/trunk/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy_unittest.cc:187:25 [-Wunused-lambda-capture] lambda capture 'kTooLargeDelta' is not used
media/webrtc/trunk/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy_unittest.cc:206:25 [-Wunused-lambda-capture] lambda capture 'kTooLargeDelta' is not required to be captured for this use
media/webrtc/trunk/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy_unittest.cc:297:25 [-Wunused-lambda-capture] lambda capture 'kTimeoutTimeMs' is not used
media/webrtc/trunk/webrtc/video/overuse_frame_detector_unittest.cc:347:26 [-Wunused-lambda-capture] lambda capture 'event' is not used
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.