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:
Vincent Untz 2012-02-21 17:57:44 +01:00 committed by Tim-Philipp Müller
parent 0d5b5d839a
commit a32e030faa

View file

@ -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