projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d5b5d8
)
pulse: Fix a build warning when compiling with asserts disabled
author
Vincent Untz
<vuntz@gnome.org>
Tue, 21 Feb 2012 16:57:44 +0000
(17:57 +0100)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Tue, 21 Feb 2012 20:12:06 +0000
(20:12 +0000)
Return a value even if the code will never be reached, to make compilers
happy.
https://bugzilla.gnome.org/show_bug.cgi?id=670561
ext/pulse/pulseaudiosink.c
patch
|
blob
|
history
diff --git
a/ext/pulse/pulseaudiosink.c
b/ext/pulse/pulseaudiosink.c
index cd9f7d914b847f530b321d6ccd4c16e8f2ffb571..22b439b471dffb735bfd7b2326ac1db06d5df4da 100644
(file)
--- a/
ext/pulse/pulseaudiosink.c
+++ b/
ext/pulse/pulseaudiosink.c
@@
-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