diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-01-05 22:11:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-01-05 22:11:10 +0300 |
commit | bbd4d053217467ad12095bb6111d814bc23ab060 (patch) | |
tree | d69eca8eb0754a52255bae46f54a010b5fb78404 /source/blender/src/outliner.c | |
parent | fc2ea439b07eb31cd11776b272e219e282f73690 (diff) |
Used valgrind to find some uninitialized variables
Diffstat (limited to 'source/blender/src/outliner.c')
-rw-r--r-- | source/blender/src/outliner.c | 1 |
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; |