Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillermo S. Romero <gsr.b3d@infernal-iceberg.com>2009-10-21 21:56:26 +0400
committerGuillermo S. Romero <gsr.b3d@infernal-iceberg.com>2009-10-21 21:56:26 +0400
commit5fb73d8b81fbd1823a6c807714d6b3589e918a3b (patch)
tree4fc89128e6684313da52ad76e4b43b4bb0c62950 /source/blender/nodes/intern/CMP_util.c
parenteab11543f3c411940744ab2f447a5c222d5a50dd (diff)
Make compiler happy, remove doubtful non init usage.
Diffstat (limited to 'source/blender/nodes/intern/CMP_util.c')
-rw-r--r--source/blender/nodes/intern/CMP_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/intern/CMP_util.c b/source/blender/nodes/intern/CMP_util.c
index 175a0a54371..eb32436bf2c 100644
--- a/source/blender/nodes/intern/CMP_util.c
+++ b/source/blender/nodes/intern/CMP_util.c
@@ -1255,7 +1255,7 @@ CompBuf* qd_downScaledCopy(CompBuf* src, int scale)
fbuf = alloc_compbuf(nw, nh, src->type, 1);
{
int x, y, xx, yy, sx, sy, mx, my;
- float colsum[4];
+ float colsum[4] = {0.0f, 0.0f, 0.0f, 0.0f};
float fscale = 1.f/(float)(scale*scale);
for (y=0; y<nh; y++) {
fRGB* fcolp = (fRGB*)&fbuf->rect[y*fbuf->x*fbuf->type];