Silenced a few compiler warnings
[blender-staging.git] / source / blender / blenkernel / intern / modifier.c
index e23fb415d1422fb755c2dd66a88d2103fb5f6dfc..dd65eba0df910881bea446194cd10b0ddb8b2918 100644 (file)
@@ -4334,7 +4334,7 @@ static void waveModifier_do(
        float minfac =
          (float)(1.0 / exp(wmd->width * wmd->narrow * wmd->width * wmd->narrow));
        float lifefac = wmd->height;
-       float (*tex_co)[3];
+       float (*tex_co)[3] = NULL;
 
        if(wmd->flag & MOD_WAVE_NORM && ob->type == OB_MESH)
                mvert = dm->getVertArray(dm);