LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File blender-2.41-uninitialized_variables.patch of Package blender (Project graphics:rendering)

Index: source/blender/blenkernel/intern/DerivedMesh.c
===================================================================
--- source/blender/blenkernel/intern/DerivedMesh.c.orig
+++ source/blender/blenkernel/intern/DerivedMesh.c
@@ -2862,7 +2862,7 @@ int editmesh_get_first_deform_matrices(f
 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;