From 62f2a86eeae298fd1ead7ea2c4176562004b1942 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Fri, 11 Sep 2020 02:59:51 +0900 Subject: [PATCH] valve: Fix MSVC compile warning gstvalve.c(285) : warning C4715: 'gst_valve_event_needs_dropping': not all control paths return a value Part-of: --- plugins/elements/gstvalve.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/elements/gstvalve.c b/plugins/elements/gstvalve.c index 04323bd5cc..f8f9682e49 100644 --- a/plugins/elements/gstvalve.c +++ b/plugins/elements/gstvalve.c @@ -282,6 +282,8 @@ gst_valve_event_needs_dropping (GstValve * valve, GstEvent * event) g_assert_not_reached (); break; } + + return FALSE; } static gboolean