Commit 84b914ce authored by Øyvind "pippin" Kolås's avatar Øyvind "pippin" Kolås Committed by Michael Natterer

app: fix initialization of variable in gimp_layer_get_opacity_at

parent 390d48d4
......@@ -973,7 +973,7 @@ gimp_layer_get_opacity_at (GimpPickable *pickable,
gint y)
{
GimpLayer *layer = GIMP_LAYER (pickable);
guchar value;
guchar value = 0;
if (x >= 0 && x < gimp_item_get_width (GIMP_ITEM (layer)) &&
y >= 0 && y < gimp_item_get_height (GIMP_ITEM (layer)) &&
......
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