Closed
Bug 1406980
Opened 7 years ago
Closed 7 years ago
TestMultiWriterQueue.cpp: lambda capture 'pops' is not used [-Werror,-Wunused-lambda-capture]
Categories
(Core :: Audio/Video, defect)
Core
Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla58
Tracking | Status | |
---|---|---|
firefox58 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: Sylvestre)
References
Details
Attachments
(1 file)
0:51.97 /data/jenkins/workspace/firefox-clang-last/dom/media/doctor/gtest/TestMultiWriterQueue.cpp:151:14: error: lambda capture 'pops' is not used [-Werror,-Wunused-lambda-capture]
0:51.98 q.PopAll([&pops](const int& i) { EXPECT_TRUE(false); });
0:51.98 ^
0:51.98 /data/jenkins/workspace/firefox-clang-last/dom/media/doctor/gtest/TestMultiWriterQueue.cpp:385:3: note: in instantiation of function template specialization 'TestMultiWriterQueueMT<DequeWrapperMW>' requested here
0:51.98 TestMultiWriterQueueMT<DequeWrapperMW>(
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → sledru
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8916675 -
Flags: review?(gsquelart)
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8916675 [details]
Bug 1406980 - Fix the -Wunused-lambda-capture warning
https://reviewboard.mozilla.org/r/187768/#review192948
I was probably using this variable during development.
Thank you for fixing it.
Attachment #8916675 -
Flags: review?(gsquelart) → review+
Pushed by gsquelart@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e6510aeb4e94
Fix the -Wunused-lambda-capture warning r=gerald
Assignee | ||
Comment 4•7 years ago
|
||
Thanks for landing that, I appreciate it :)
![]() |
||
Comment 5•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in
before you can comment on or make changes to this bug.
Description
•