mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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:
parent
baaa965ebc
commit
76654539b9
1 changed files with 4 additions and 0 deletions
|
@ -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 *
|
||||
|
|
Loading…
Reference in a new issue