summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorSeungha Yang <seungha.yang@navercorp.com>2019-09-17 20:32:18 +0900
committerTim-Philipp Müller <tim@centricular.com>2019-10-17 19:51:34 +0100
commit7324f427bb79c67b56d3ba1eac36dfc0fa547ebb (patch)
tree344984b7c10598df79b7e3eb3631b10e66cfab12 /sys
parent648753b4bc5636f8cdf3fc963289a019e8d11cfe (diff)
downloadgstreamer-plugins-bad-7324f427bb79c67b56d3ba1eac36dfc0fa547ebb.tar.gz
wasapi: Fix build warnings
gstwasapiutil.c(173) : warning C4715: 'gst_wasapi_device_role_to_erole': not all control paths return a value gstwasapiutil.c(188) : warning C4715: 'gst_wasapi_erole_to_device_role': not all control paths return a value
Diffstat (limited to 'sys')
-rw-r--r--sys/wasapi/gstwasapiutil.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/wasapi/gstwasapiutil.c b/sys/wasapi/gstwasapiutil.c
index eac28834c..81df8d838 100644
--- a/sys/wasapi/gstwasapiutil.c
+++ b/sys/wasapi/gstwasapiutil.c
@@ -170,6 +170,8 @@ gst_wasapi_device_role_to_erole (gint role)
default:
g_assert_not_reached ();
}
+
+ return -1;
}
gint
@@ -185,6 +187,8 @@ gst_wasapi_erole_to_device_role (gint erole)
default:
g_assert_not_reached ();
}
+
+ return -1;
}
static const gchar *