skip assigning vars for inline bmesh flag funcs, just cast.
[blender.git] / source / blender / blenkernel / intern / DerivedMesh.c
index f1cc409b87f7f9a612168fb880d0e6bb548932fe..62f9c65d2eae673f4b4bc426f343b07f24a450af 100644 (file)
@@ -358,7 +358,6 @@ static void dm_add_polys_from_iter(CustomData *ldata, CustomData *pdata, Derived
 void DM_DupPolys(DerivedMesh *source, DerivedMesh *target)
 {
        DMFaceIter *iter = source->newFaceIter(source);
-       DMLoopIter *liter;
        int totloop = source->numLoopData;
 
        dm_add_polys_from_iter(&target->loopData, &target->polyData, source, totloop);
@@ -921,7 +920,7 @@ void vDM_ColorBand_store(ColorBand *coba)
 
 static void add_weight_mcol_dm(Object *ob, DerivedMesh *dm)
 {
-       Mesh *me = ob->data;
+       // Mesh *me = ob->data; // UNUSED
        MFace *mf = dm->getTessFaceArray(dm);
        DMFaceIter *dfiter;
        DMLoopIter *dliter;