diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-08-21 07:46:30 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-08-21 07:46:30 +0300 |
commit | a98b02ff941edb1d92892f520641433582754f0d (patch) | |
tree | 06dec3e0bd33038585e14cfbaed55213c18a9a7e /source/blender | |
parent | aa746677cfb890bb81e1e01bdb543526342d77ee (diff) |
Fix uninitialized var use
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/physics/particle_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/physics/particle_object.c b/source/blender/editors/physics/particle_object.c index d3ab2bcb86b..327ce060df9 100644 --- a/source/blender/editors/physics/particle_object.c +++ b/source/blender/editors/physics/particle_object.c @@ -998,7 +998,7 @@ static void remove_particle_systems_from_object(Object *ob_to) static bool copy_particle_systems_to_object(Scene *scene, Object *ob_from, ParticleSystem *single_psys_from, Object *ob_to, int space) { ModifierData *md; - ParticleSystem *psys_start, *psys, *psys_from; + ParticleSystem *psys_start = NULL, *psys, *psys_from; ParticleSystem **tmp_psys; DerivedMesh *final_dm; CustomDataMask cdmask; |