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>2008-01-05 22:11:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-01-05 22:11:10 +0300
commitbbd4d053217467ad12095bb6111d814bc23ab060 (patch)
treed69eca8eb0754a52255bae46f54a010b5fb78404 /source/blender/src/outliner.c
parentfc2ea439b07eb31cd11776b272e219e282f73690 (diff)
Used valgrind to find some uninitialized variables
Diffstat (limited to 'source/blender/src/outliner.c')
-rw-r--r--source/blender/src/outliner.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/src/outliner.c b/source/blender/src/outliner.c
index 3b957b5f142..f0d23f9988a 100644
--- a/source/blender/src/outliner.c
+++ b/source/blender/src/outliner.c
@@ -229,6 +229,7 @@ static void check_persistant(SpaceOops *soops, TreeElement *te, ID *id, short ty
if(type) tselem->nr= nr; // we're picky! :)
else tselem->nr= 0;
tselem->id= id;
+ tselem->used = 0;
tselem->flag= TSE_CLOSED;
te->store_index= ts->usedelem;