Commit 766d3bc6 authored by Sebastian Dröge's avatar Sebastian Dröge

goom2k1: Fix 'may be used uninitialized in this function' compiler warning

parent ff58bf3d
......@@ -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++;
......
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