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)

defect
Not set
normal

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: nobody → sledru
Attachment #8916675 - Flags: review?(gsquelart)
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
Thanks for landing that, I appreciate it :)
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.

Attachment

General

Created:
Updated:
Size: