remove / comment unused code, patch by nico_ga on IRC with some edits.
[blender-staging.git] / source / blender / blenkernel / intern / anim.c
index e12ec559f4b323c360a67a3b8cb95fa507e9ce47..1763866c00032a72a0c1c32a019a071eb8d04352 100644 (file)
@@ -1206,7 +1206,7 @@ static void new_particle_duplilist(ListBase *lb, ID *id, Scene *scene, Object *p
        float tmat[4][4], mat[4][4], pamat[4][4], vec[3], size=0.0;
        float (*obmat)[4], (*oldobmat)[4];
        int a, b, counter, hair = 0;
-       int totpart, totchild, totgroup=0, pa_num;
+       int totpart, totchild, totgroup=0 /*, pa_num */;
 
        int no_draw_flag = PARS_UNEXIST;
 
@@ -1323,7 +1323,7 @@ static void new_particle_duplilist(ListBase *lb, ID *id, Scene *scene, Object *p
                                if(pa->flag & no_draw_flag)
                                        continue;
 
-                               pa_num = pa->num;
+                               /* pa_num = pa->num; */ /* UNUSED */
                                pa_time = pa->time;
                                size = pa->size;
                        }
@@ -1331,7 +1331,7 @@ static void new_particle_duplilist(ListBase *lb, ID *id, Scene *scene, Object *p
                                /* handle child particle */
                                cpa = &psys->child[a - totpart];
 
-                               pa_num = a;
+                               /* pa_num = a; */ /* UNUSED */
                                pa_time = psys->particles[cpa->parent].time;
                                size = psys_get_child_size(psys, cpa, ctime, NULL);
                        }