From 5a6b46f0ca2240f852597d047d3757ecde84c5fa Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Tue, 25 Sep 2018 19:18:00 -0300 Subject: [PATCH] Remove warnings --- source/blender/editors/space_view3d/view3d_select.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/source/blender/editors/space_view3d/view3d_select.c b/source/blender/editors/space_view3d/view3d_select.c index 59654c400ba..5f0c814dcb2 100644 --- a/source/blender/editors/space_view3d/view3d_select.c +++ b/source/blender/editors/space_view3d/view3d_select.c @@ -664,8 +664,6 @@ static void do_lasso_select_curve__doSelect( void *userData, Nurb *UNUSED(nu), BPoint *bp, BezTriple *bezt, int beztindex, const float screen_co[2]) { LassoSelectUserData *data = userData; - Object *obedit = data->vc->obedit; - Curve *cu = (Curve *)obedit->data; const bool is_inside = BLI_lasso_is_point_inside(data->mcords, data->moves, screen_co[0], screen_co[1], IS_CLIPPED); if (bp) { @@ -1984,8 +1982,6 @@ static void do_nurbs_box_select__doSelect( void *userData, Nurb *UNUSED(nu), BPoint *bp, BezTriple *bezt, int beztindex, const float screen_co[2]) { BoxSelectUserData *data = userData; - Object *obedit = data->vc->obedit; - Curve *cu = (Curve *)obedit->data; const bool is_inside = BLI_rctf_isect_pt_v(data->rect_fl, screen_co); if (bp) { @@ -2912,8 +2908,6 @@ static void nurbscurve_circle_doSelect( void *userData, Nurb *UNUSED(nu), BPoint *bp, BezTriple *bezt, int beztindex, const float screen_co[2]) { CircleSelectUserData *data = userData; - Object *obedit = data->vc->obedit; - Curve *cu = (Curve *)obedit->data; if (len_squared_v2v2(data->mval_fl, screen_co) <= data->radius_squared) { if (bp) {