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:
authorCampbell Barton <ideasman42@gmail.com>2009-02-18 08:49:51 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-02-18 08:49:51 +0300
commit7d2582de09935c7050665a738eaca9097f3d0870 (patch)
tree01582b9f32d0539bdd07d2dc3b2565cb1da5f3a0 /source/blender/blenloader
parent21925c6f47bebba547e30ee81a199dd761912b60 (diff)
more uninitialized variables and auto-complete could copy a string over its self.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/writefile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c
index e06e7eb2d85..92d847d4782 100644
--- a/source/blender/blenloader/intern/writefile.c
+++ b/source/blender/blenloader/intern/writefile.c
@@ -2032,7 +2032,7 @@ static void write_global(WriteData *wd)
fg.subversion= BLENDER_SUBVERSION;
fg.minversion= BLENDER_MINVERSION;
fg.minsubversion= BLENDER_MINSUBVERSION;
-
+ fg.pads= 0; /* prevent mem checkers from complaining */
writestruct(wd, GLOB, "FileGlobal", 1, &fg);
}