blur-effect: Silence compiler warning
Building with `debugoptimized` throws: `'paint_opacity' may be used uninitialized in this function` Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1596>
This commit is contained in:
parent
ddc2e0f4cb
commit
e8f46f169c
@ -615,6 +615,10 @@ shell_blur_effect_paint_node (ClutterEffect *effect,
|
|||||||
case SHELL_BLUR_MODE_BACKGROUND:
|
case SHELL_BLUR_MODE_BACKGROUND:
|
||||||
paint_opacity = 255;
|
paint_opacity = 255;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
g_assert_not_reached();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (needs_repaint (self, flags))
|
if (needs_repaint (self, flags))
|
||||||
|
Loading…
Reference in New Issue
Block a user