2.5: warning fixes
[blender-staging.git] / source / blender / blenkernel / intern / particle_system.c
index 2f4a5c28385cbaac26e1e9b7eade750fd25371fd..f81eba2badfda638d59f304993edbb0f826ae988 100644 (file)
@@ -2271,8 +2271,6 @@ void psys_make_temp_pointcache(Object *ob, ParticleSystem *psys)
 }
 void psys_clear_temp_pointcache(ParticleSystem *psys)
 {
-       PTCacheMem *pm = psys->pointcache->mem_cache.first;
-
        if((psys->pointcache->flag & PTCACHE_DISK_CACHE)==0)
                return;