From f4416e36b986333ceb620cbe9f1679ccf56d649f Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Sun, 19 Mar 2023 07:57:43 +0100 Subject: [PATCH] Cleanup: remove unused variable --- source/blender/editors/space_node/drawnode.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/blender/editors/space_node/drawnode.cc b/source/blender/editors/space_node/drawnode.cc index 4587c5800c5..926cc3df955 100644 --- a/source/blender/editors/space_node/drawnode.cc +++ b/source/blender/editors/space_node/drawnode.cc @@ -2160,7 +2160,6 @@ void node_draw_link_bezier(const bContext &C, const int th_col3, const bool selected) { - const bNodeTree &node_tree = *snode.edittree; const std::array points = node_link_bezier_points(link); if (!node_link_draw_is_visible(v2d, points)) { return; @@ -2220,7 +2219,6 @@ void node_draw_link(const bContext &C, static std::array node_link_bezier_points_dragged(const SpaceNode &snode, const bNodeLink &link) { - const bNodeTree &node_tree = *snode.edittree; const float2 cursor = snode.runtime->cursor * UI_DPI_FAC; std::array points; points[0] = link.fromsock ?