[gimp/goat-invasion: 179/325] app: fix initialization of variable in gimp_layer_get_opacity_at
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/goat-invasion: 179/325] app: fix initialization of variable in gimp_layer_get_opacity_at
- Date: Fri, 30 Mar 2012 09:49:17 +0000 (UTC)
commit 22fcc5ee385d7d908b891d46a191c0f1fc37d16d
Author: Ãyvind KolÃs <pippin gimp org>
Date: Wed Mar 21 01:06:05 2012 +0000
app: fix initialization of variable in gimp_layer_get_opacity_at
app/core/gimplayer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/core/gimplayer.c b/app/core/gimplayer.c
index af62dc2..10623a8 100644
--- a/app/core/gimplayer.c
+++ b/app/core/gimplayer.c
@@ -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)) &&
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]