2.5 - Warning cleanups (for mingw+scons)
[blender-staging.git] / source / blender / blenkernel / intern / object.c
index 32f70bc690c41e7f379d40d8c972d5348a3e9e42..5e2a00c219d3b51c8fee8ed9aa17f3081ebbd298 100644 (file)
@@ -2571,6 +2571,7 @@ int object_insert_ptcache(Object *ob)
        return i;
 }
 
+#if 0
 static int pc_findindex(ListBase *listbase, int index)
 {
        LinkData *link= NULL;
@@ -2590,11 +2591,10 @@ static int pc_findindex(ListBase *listbase, int index)
        return -1;
 }
 
-#if 0
 void object_delete_ptcache(Object *ob, int index) 
 {
        int list_index = pc_findindex(&ob->pc_ids, index);
        LinkData *link = BLI_findlink(&ob->pc_ids, list_index);
        BLI_freelinkN(&ob->pc_ids, link);
 }
-#endif
\ No newline at end of file
+#endif