From e9286d7273f30cefa7e1f99e998ddffc6199d466 Mon Sep 17 00:00:00 2001 From: Mirko Bonadei Date: Mon, 30 Mar 2020 09:13:59 +0200 Subject: [PATCH] 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 Reviewed-by: Magnus Flodman Reviewed-by: Mirko Bonadei Cr-Commit-Position: refs/heads/master@{#30935} --- modules/video_capture/test/video_capture_unittest.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/video_capture/test/video_capture_unittest.cc b/modules/video_capture/test/video_capture_unittest.cc index 4a726db8f2..be443e0820 100644 --- a/modules/video_capture/test/video_capture_unittest.cc +++ b/modules/video_capture/test/video_capture_unittest.cc @@ -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 module(