From a98b02ff941edb1d92892f520641433582754f0d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 21 Aug 2015 14:46:30 +1000 Subject: Fix uninitialized var use --- source/blender/editors/physics/particle_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/physics') 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; -- cgit v1.2.3