summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2012-04-02 13:00:19 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-04-02 13:00:19 +0200
commit766d3bc6b0c82c192ace1d644197c1e13e85732f (patch)
tree4ae42529aa319e0617dd35b5925804d697575473 /gst
parentff58bf3db93d346a27d77d2b21f3fa5e43970518 (diff)
downloadgstreamer-plugins-good-766d3bc6b0c82c192ace1d644197c1e13e85732f.tar.gz
goom2k1: Fix 'may be used uninitialized in this function' compiler warning
Diffstat (limited to 'gst')
-rw-r--r--gst/goom2k1/lines.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gst/goom2k1/lines.c b/gst/goom2k1/lines.c
index 3214e1db0..bb6348f11 100644
--- a/gst/goom2k1/lines.c
+++ b/gst/goom2k1/lines.c
@@ -48,6 +48,11 @@ goom_lines (GoomData * goomdata, gint16 data[2][512], unsigned int ID,
color2 = 0x00AA33DD;
break;
}
+ default:{
+ color1 = color2 = 0;
+ g_assert_not_reached ();
+ break;
+ }
}
*color = lighten (*color, power);
color++;