aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2021-06-25 14:41:02 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2021-06-25 14:41:02 +0200
commit99faf62354d26b162fc348d8ca8b05d43f1bdeda (patch)
treef808f12ad327775ac9a63a7b6d43a8087499b540
parentbf645cbef2a7b74d77641f5e1b5d58a0794ecd29 (diff)
downloadv4l-utils-99faf62354d26b162fc348d8ca8b05d43f1bdeda.tar.gz
cec-follower: fix incorrect fallthrough
The CEC_MSG_ROUTING_INFORMATION handler fell through to the CEC_MSG_GET_MENU_LANGUAGE handler for no good reason. Just return instead. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r--utils/cec-follower/cec-processing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/cec-follower/cec-processing.cpp b/utils/cec-follower/cec-processing.cpp
index b1c8f3d9..6db3f98e 100644
--- a/utils/cec-follower/cec-processing.cpp
+++ b/utils/cec-follower/cec-processing.cpp
@@ -377,8 +377,8 @@ static void processMsg(struct node *node, struct cec_msg &msg, unsigned me, __u8
if (cec_has_tv(1 << la) && la_info[la].phys_addr == 0)
warn("TV (0) at 0.0.0.0 sent Routing Information.");
+ return;
}
- fallthrough;
/* System Information */