Commit a32e030f authored by Vincent Untz's avatar Vincent Untz Committed by Tim-Philipp Müller

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
parent 0d5b5d83
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment