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
This commit is contained in:
Seungha Yang 2019-09-17 20:32:18 +09:00 committed by Sebastian Dröge
parent baaa965ebc
commit 76654539b9

View file

@ -170,6 +170,8 @@ gst_wasapi_device_role_to_erole (gint role)
default: default:
g_assert_not_reached (); g_assert_not_reached ();
} }
return -1;
} }
gint gint
@ -185,6 +187,8 @@ gst_wasapi_erole_to_device_role (gint erole)
default: default:
g_assert_not_reached (); g_assert_not_reached ();
} }
return -1;
} }
static const gchar * static const gchar *