Commit: 59828ced951aac585fcd9104e153ed3ddfa48834
Author: Antonio Vazquez
Date:   Fri Feb 2 20:15:46 2018 +0100
Branches: greasepencil-object
https://developer.blender.org/rB59828ced951aac585fcd9104e153ed3ddfa48834

Cleanup: Remove unused variables

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

M       source/blender/editors/gpencil/gpencil_edit.c

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

diff --git a/source/blender/editors/gpencil/gpencil_edit.c 
b/source/blender/editors/gpencil/gpencil_edit.c
index ccb0fc23f34..9e1849bb16e 100644
--- a/source/blender/editors/gpencil/gpencil_edit.c
+++ b/source/blender/editors/gpencil/gpencil_edit.c
@@ -3169,8 +3169,7 @@ static int gp_stroke_separate_exec(bContext *C, 
wmOperator *op)
                                                                }
 
                                                                /* delete 
selected points from destination stroke */
-                                                               bGPDstroke 
*new_gps = NULL;
-                                                               
gp_stroke_delete_tagged_points(gpf_dst, gps_dst, new_gps, GP_SPOINT_SELECT);
+                                                               
gp_stroke_delete_tagged_points(gpf_dst, gps_dst, NULL, GP_SPOINT_SELECT);
 
                                                                /* delete 
selected points from origin stroke */
                                                                
gp_stroke_delete_tagged_points(gpf, gps, gpsn, GP_SPOINT_SELECT);
@@ -3306,8 +3305,7 @@ static int gp_stroke_split_exec(bContext *C, wmOperator 
*op)
                                                }
 
                                                /* delete selected points from 
destination stroke */
-                                               bGPDstroke *new_gps = NULL;
-                                               
gp_stroke_delete_tagged_points(gpf, gps_dst, new_gps, GP_SPOINT_SELECT);
+                                               
gp_stroke_delete_tagged_points(gpf, gps_dst, NULL, GP_SPOINT_SELECT);
 
                                                /* delete selected points from 
origin stroke */
                                                
gp_stroke_delete_tagged_points(gpf, gps, gpsn, GP_SPOINT_SELECT);

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to