diff options
Diffstat (limited to 'source/blender/nodes')
-rw-r--r-- | source/blender/nodes/intern/CMP_util.c | 2 | ||||
-rw-r--r-- | source/blender/nodes/intern/TEX_nodes/TEX_output.c | 2 |
2 files changed, 2 insertions, 2 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]; diff --git a/source/blender/nodes/intern/TEX_nodes/TEX_output.c b/source/blender/nodes/intern/TEX_nodes/TEX_output.c index 580b4cde8bf..ab8920e67ad 100644 --- a/source/blender/nodes/intern/TEX_nodes/TEX_output.c +++ b/source/blender/nodes/intern/TEX_nodes/TEX_output.c @@ -118,7 +118,7 @@ static void unique_name(bNode *node) { TexNodeOutput *tno = (TexNodeOutput *)node->storage; char *new_name = 0; - int new_len; + int new_len = 0; int suffix; bNode *i; char *name = tno->name; |