Fix some -Wunreachable-code-aggressive warnings
Bug: chromium:1066980 Change-Id: I24fea094f28577799c5fcbcf2e9657ffa9bfd076 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/228760 Reviewed-by: Jamie Walch <jamiewalch@chromium.org> Reviewed-by: Tommi <tommi@webrtc.org> Commit-Queue: Tommi <tommi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34766}
This commit is contained in:
parent
96106719a9
commit
19214818d7
@ -29,9 +29,9 @@ Aec3Optimization DetectOptimization() {
|
||||
|
||||
#if defined(WEBRTC_HAS_NEON)
|
||||
return Aec3Optimization::kNeon;
|
||||
#endif
|
||||
|
||||
#else
|
||||
return Aec3Optimization::kNone;
|
||||
#endif
|
||||
}
|
||||
|
||||
float FastApproxLog2f(const float in) {
|
||||
|
||||
@ -34,9 +34,9 @@ std::unique_ptr<DesktopCapturer> DesktopCapturer::CreateRawScreenCapturer(
|
||||
|
||||
#if defined(WEBRTC_USE_X11)
|
||||
return ScreenCapturerX11::CreateRawScreenCapturer(options);
|
||||
#endif // defined(WEBRTC_USE_X11)
|
||||
|
||||
#else
|
||||
return nullptr;
|
||||
#endif // defined(WEBRTC_USE_X11)
|
||||
}
|
||||
|
||||
} // namespace webrtc
|
||||
|
||||
@ -34,9 +34,9 @@ std::unique_ptr<DesktopCapturer> DesktopCapturer::CreateRawWindowCapturer(
|
||||
|
||||
#if defined(WEBRTC_USE_X11)
|
||||
return WindowCapturerX11::CreateRawWindowCapturer(options);
|
||||
#endif // defined(WEBRTC_USE_X11)
|
||||
|
||||
#else
|
||||
return nullptr;
|
||||
#endif // defined(WEBRTC_USE_X11)
|
||||
}
|
||||
|
||||
} // namespace webrtc
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user