goom2k1: Fix 'may be used uninitialized in this function' compiler warning
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 2 Apr 2012 11:00:19 +0000 (13:00 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 2 Apr 2012 11:00:19 +0000 (13:00 +0200)
gst/goom2k1/lines.c

index 3214e1d..bb6348f 100644 (file)
@@ -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++;