[Bf-blender-cvs] [5a6b46f0ca2] blender2.8: Remove warnings

Dalai Felinto noreply at git.blender.org
Wed Sep 26 00:18:53 CEST 2018


Commit: 5a6b46f0ca2240f852597d047d3757ecde84c5fa
Author: Dalai Felinto
Date:   Tue Sep 25 19:18:00 2018 -0300
Branches: blender2.8
https://developer.blender.org/rB5a6b46f0ca2240f852597d047d3757ecde84c5fa

Remove warnings

===================================================================

M	source/blender/editors/space_view3d/view3d_select.c

===================================================================

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) {



More information about the Bf-blender-cvs mailing list