quiet compiler warnings for BLI_array defines, split BLI_array_append into BLI_array_...
[blender.git] / source / blender / modifiers / intern / MOD_array.c
index a8198f06aab1f2b3fadce43d45e42ea9c06749e6..a8db141dbbfeeedf355ef2513095adbe94c63e27 100644 (file)
@@ -280,6 +280,8 @@ typedef struct IndexMapEntry {
        short merge_final;
 } IndexMapEntry;
 
+#if 0 /* BMESH_TODO, keep this function??? */
+
 /* indexMap - an array of IndexMap entries
  * oldIndex - the old index to map
  * copyNum - the copy number to map to (original = 0, first copy = 1, etc.)
@@ -305,6 +307,8 @@ static int calc_mapping(IndexMapEntry *indexMap, int oldIndex, int copyNum)
        }
 }
 
+#endif
+
 static DerivedMesh *arrayModifier_doArray(ArrayModifierData *amd,
                                          Scene *scene, Object *ob, DerivedMesh *dm,
                                                                                  int UNUSED(initFlags))