quiet shadow warnings and remove redundant NULL check
[blender.git] / source / blender / editors / object / object_vgroup.c
index 9b3f1a4f3acedaf58a74b83259a47cc37f181f8b..294b0632015a6ab71d71b5c24478f1983555ccc8 100644 (file)
@@ -547,7 +547,6 @@ static void vgroup_normalize_active(Object *ob, eVGroupSelect subset_type)
                        ED_mesh_defvert_mirror_update_em(ob, eve_act, -1, -1, cd_dvert_offset);
                }
                else {
-                       int v_act = BKE_mesh_mselect_active_get(me, ME_VSEL);
                        ED_mesh_defvert_mirror_update_ob(ob, -1, v_act);
                }
        }