svn merge ^/trunk/blender -r43554:43564
[blender.git] / source / blender / editors / uvedit / uvedit_smart_stitch.c
index 023d55d053dac8f8ec6a34105c6443544431d6c9..346020464482cb84930f8579eaa17041634a72ca 100644 (file)
@@ -1071,7 +1071,7 @@ static int stitch_init(bContext *C, wmOperator *op)
        ghi = BLI_ghashIterator_new(edgeHash);
        total_edges = 0;
        /* fill the edges with data */
-       for(i = 0; !BLI_ghashIterator_isDone(ghi); BLI_ghashIterator_step(ghi)){
+       for(; !BLI_ghashIterator_isDone(ghi); BLI_ghashIterator_step(ghi)){
                UvEdge *edge = ((UvEdge *)BLI_ghashIterator_getKey(ghi));
                if(edge->flag & STITCH_BOUNDARY){
                        total_edges++;