Patch 17403, small gcc warning fixes.
[blender.git] / source / blender / blenkernel / intern / DerivedMesh.c
index 328dcada01a94764dcab111c81004cc9b939ab25..5bc70e00891b7ed662421463026a1afe9dacc4f0 100644 (file)
@@ -3339,7 +3339,7 @@ void DM_vertex_attributes_from_gpu(DerivedMesh *dm, GPUVertexAttribs *gattribs,
 void writeBobjgz(char *filename, struct Object *ob, int useGlobalCoords, int append, float time) 
 {
        char debugStrBuffer[256];
-       int wri,i,j,totvert,totface;
+       int wri=0,i,j,totvert,totface;
        float wrf;
        gzFile gzf;
        DerivedMesh *dm;