[Bf-blender-cvs] [7092d6a7a31] master: Fix warning from own previous commit

Julian Eisel noreply at git.blender.org
Thu Mar 11 17:58:09 CET 2021


Commit: 7092d6a7a31d9cde901828ea6abd76a66e5a7334
Author: Julian Eisel
Date:   Thu Mar 11 17:57:05 2021 +0100
Branches: master
https://developer.blender.org/rB7092d6a7a31d9cde901828ea6abd76a66e5a7334

Fix warning from own previous commit

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

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

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

diff --git a/source/blender/editors/space_view3d/view3d_snap.c b/source/blender/editors/space_view3d/view3d_snap.c
index 61eeafbe7c7..72c62321e88 100644
--- a/source/blender/editors/space_view3d/view3d_snap.c
+++ b/source/blender/editors/space_view3d/view3d_snap.c
@@ -910,7 +910,6 @@ static bool snap_calc_active_center(bContext *C, const bool select_only, float r
 static int snap_curs_to_active_exec(bContext *C, wmOperator *UNUSED(op))
 {
   Scene *scene = CTX_data_scene(C);
-  View3D *v3d = CTX_wm_view3d(C);
 
   if (snap_calc_active_center(C, false, scene->cursor.location)) {
     WM_event_add_notifier(C, NC_SPACE | ND_SPACE_VIEW3D, NULL);



More information about the Bf-blender-cvs mailing list