patch [#30227] Various MSVC (32-bit) Warning and Typo Fixes
[blender-staging.git] / source / blender / editors / mesh / editmesh_lib.c
index 5ec147a742bb210902d63490707c35b82dae94fd..2895f5c34e6891738f9b95bbd7327beae63233d5 100644 (file)
@@ -2410,7 +2410,7 @@ UvElementMap *EM_make_uv_element_map(EditMesh *em, int selected, int do_islands)
 
        vmap->totalUVs = totuv;
 
-       for(efa = em->faces.first; efa; a++, efa = efa->next) {
+       for(efa = em->faces.first; efa; efa = efa->next) {
                if(!selected || ((!efa->h) && (efa->f & SELECT))) {
                        nverts = (efa->v4)? 4: 3;