code cleanup: better use of BLI_array_* (grow in larger steps where possible), includ...
[blender.git] / source / blender / bmesh / intern / bmesh_operator_api.h
index b01b80f1ef4579d1fa009d3f5c1fbaa22f7a456b..bf66388fb9e9f514877c274e848b9b8a9771d1b0 100644 (file)
@@ -413,8 +413,7 @@ void *BMO_iter_map_value_p(BMOIter *iter);
 float BMO_iter_map_value_f(BMOIter *iter);
 
 #define BMO_ITER(ele, iter, bm, op, slotname, restrict)   \
-       ele = BMO_iter_new(iter, bm, op, slotname, restrict); \
-       for ( ; ele; ele = BMO_iter_step(iter))
+       for (ele = BMO_iter_new(iter, bm, op, slotname, restrict); ele; ele = BMO_iter_step(iter))
 
 /******************* Inlined Functions********************/
 typedef void (*opexec)(BMesh *bm, BMOperator *op);