Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0792ddf
)
ecere/gfx/Surface: Fixed a Valgrind complaint about conditional jump with -O2
author
jerome
<jerome@quantal.(none)>
Tue, 29 Jan 2013 12:26:36 +0000
(07:26 -0500)
committer
jerome
<jerome@quantal.(none)>
Tue, 29 Jan 2013 12:26:36 +0000
(07:26 -0500)
ecere/src/gfx/Surface.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gfx/Surface.ec
b/ecere/src/gfx/Surface.ec
index
5a6bb1c
..
1a4c201
100644
(file)
--- a/
ecere/src/gfx/Surface.ec
+++ b/
ecere/src/gfx/Surface.ec
@@
-416,7
+416,7
@@
public:
float inc = 1.0f/(height-1);
float percent = 0;
int start;
- ColorAlpha color;
+ ColorAlpha color
= 0
;
int firstPixel = (direction == horizontal) ? x1 : y1;
int lastPixel = (direction == horizontal) ? x2 : y2;
int boxLeft = (direction == horizontal) ? box.left : box.top;