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:
authorJoshua Leung <aligorith@gmail.com>2008-05-11 16:57:01 +0400
committerJoshua Leung <aligorith@gmail.com>2008-05-11 16:57:01 +0400
commit2d96d1189fac31d634d519a6b5d925e5159f221a (patch)
tree007d1432719fdff038f338173e66f8b1a9804d0f /source/blender/python/api2_2x/Particle.c
parentb9c66e88ea42a73533dd7cc4beb9e1eca2fe65d0 (diff)
Fix compiler warnings in particle.c and editface.c.
* unitialised/unused vars
Diffstat (limited to 'source/blender/python/api2_2x/Particle.c')
-rw-r--r--source/blender/python/api2_2x/Particle.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/python/api2_2x/Particle.c b/source/blender/python/api2_2x/Particle.c
index 8e449638977..15307cc2be5 100644
--- a/source/blender/python/api2_2x/Particle.c
+++ b/source/blender/python/api2_2x/Particle.c
@@ -565,7 +565,6 @@ PyObject *M_ParticleSys_Get( PyObject * self, PyObject * args )
}else { /* no arg - return a list of bpy objs all P. systems */
PyObject *pylist;
- PyObject *pyobj;
int index = 0;
pylist = PyList_New( BLI_countlist( &G.main->particle ));
@@ -804,7 +803,7 @@ static PyObject *Part_GetLoc( BPy_PartSys * self, PyObject * args ){
ParticleSystem *psys = 0L;
Object *ob = 0L;
PyObject *partlist,*seglist;
- PyObject* loc;
+ PyObject* loc = 0L;
ParticleCacheKey **cache,*path;
ParticleKey state;
float cfra=bsystem_time(ob,(float)CFRA,0.0);
@@ -952,7 +951,7 @@ static PyObject *Part_GetLoc( BPy_PartSys * self, PyObject * args ){
static PyObject *Part_GetRot( BPy_PartSys * self, PyObject * args ){
ParticleSystem *psys = 0L;
Object *ob = 0L;
- PyObject *partlist;
+ PyObject *partlist = 0L;
PyObject* loc = 0L;
ParticleKey state;
int i;