mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
goom2k1: Fix 'may be used uninitialized in this function' compiler warning
This commit is contained in:
parent
ff58bf3db9
commit
766d3bc6b0
1 changed files with 5 additions and 0 deletions
|
@ -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++;
|
||||
|
|
Loading…
Reference in a new issue