webrtc/api/adaptation
Fabien Vallée f8b5bfeaf2 Fix "control reaches end of non-void function" warnings
"warning: control reaches end of non-void function [-Wreturn-type]"
Reported by gcc (8.3)

In all the reported cases, the end of function is never actually
reached. Add RTC_CHECK(false) to ensure the compiler is aware that
this path is a dead-end.

Bug: webrtc:12008
Change-Id: I7f816fde3d1897ed2774057c7e05da66e1895e60
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/189784
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Fabien VALLÉE <fabien.vallee@netgem.com>
Cr-Commit-Position: refs/heads/master@{#32503}
2020-10-27 10:22:23 +00:00
..
BUILD.gn Fix "control reaches end of non-void function" warnings 2020-10-27 10:22:23 +00:00
DEPS [Adaptation] Move Resource to api/ folder. 2020-06-03 08:51:29 +00:00
resource.cc Fix "control reaches end of non-void function" warnings 2020-10-27 10:22:23 +00:00
resource.h Add RTC_EXPORT to webrtc::Resource so that it can be used in Chrome. 2020-06-16 18:02:00 +00:00