A bit of cleanup of warnings (gcc).
[blender.git] / source / blender / python / api2_2x / Particle.c
index 2c2e724129ed7a63b048e6d4e78c6a297a5eaaa9..bc65426e16c1e332fde279c4e896e7568bda2db1 100644 (file)
@@ -804,7 +804,7 @@ static PyObject *Part_GetLoc( BPy_PartSys * self, PyObject * args )
 {
        ParticleSystem *psys = 0L;
        Object *ob = 0L;
-       PyObject *partlist,*seglist;
+       PyObject *partlist,*seglist=0L;
        ParticleCacheKey **cache,*path;
        PyObject* loc = 0L;
        ParticleKey state;
@@ -1107,7 +1107,7 @@ static PyObject *Part_GetSize( BPy_PartSys * self, PyObject * args )
        ParticleSystem *psys = 0L;
        ParticleData *data;
        Object *ob = 0L;
-       PyObject *partlist,*tuple;
+       PyObject *partlist,*tuple=0L;
        DerivedMesh* dm;
        float vm[4][4],wm[4][4];
        float size;
@@ -1217,7 +1217,7 @@ static PyObject *Part_GetAge( BPy_PartSys * self, PyObject * args )
        ParticleSystem *psys = 0L;
        ParticleData *data;
        Object *ob = 0L;
-       PyObject *partlist,*tuple;
+       PyObject *partlist,*tuple=0L;
        DerivedMesh* dm;
        float vm[4][4],wm[4][4];
        float life;