Fix -Wunreacheable-code on Mac.
After [1], Chromium Roll's CLs don't compile and test anything. This needs to be fixed but in the meantime a breakage started to happen. This CL fixes the problem. [1] - https://chromium-review.googlesource.com/c/chromium/tools/build/+/2124478 TBR=mflodman@webrtc.org No-Tree-Checks: true Bug: None Change-Id: Ia4ebe7bd1258755bec1c420763037b235dc7dab8 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/172091 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Magnus Flodman <mflodman@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30935}
This commit is contained in:
parent
7d4fe0ae41
commit
e9286d7273
@ -242,11 +242,6 @@ TEST_F(VideoCaptureTest, MAYBE_CreateDelete) {
|
||||
#define MAYBE_Capabilities Capabilities
|
||||
#endif
|
||||
TEST_F(VideoCaptureTest, MAYBE_Capabilities) {
|
||||
#ifdef WEBRTC_MAC
|
||||
printf("Video capture capabilities are not supported on Mac.\n");
|
||||
return;
|
||||
#endif
|
||||
|
||||
TestVideoCaptureCallback capture_observer;
|
||||
|
||||
rtc::scoped_refptr<VideoCaptureModule> module(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user