mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
pulse: Fix a build warning when compiling with asserts disabled
Return a value even if the code will never be reached, to make compilers happy. https://bugzilla.gnome.org/show_bug.cgi?id=670561
This commit is contained in:
parent
0d5b5d839a
commit
a32e030faa
1 changed files with 3 additions and 1 deletions
|
@ -279,7 +279,9 @@ param_spec_copy (GParamSpec * spec)
|
|||
|
||||
g_warning ("Unknown param type %ld for '%s'",
|
||||
(long) G_PARAM_SPEC_TYPE (spec), name);
|
||||
g_assert_not_reached ();
|
||||
|
||||
/* Make compiler happy */
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue