From 6796ff5880a0895cd27b7e73066cad3dabfa4eb1 Mon Sep 17 00:00:00 2001 From: Charlie Jolly Date: Tue, 11 May 2021 14:03:40 +0100 Subject: [PATCH] Cleanup: unused variable warning --- .../nodes/geometry/nodes/node_geo_attribute_vector_rotate.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/blender/nodes/geometry/nodes/node_geo_attribute_vector_rotate.cc b/source/blender/nodes/geometry/nodes/node_geo_attribute_vector_rotate.cc index e4a2a8d2e22..4d568ab5c3a 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_attribute_vector_rotate.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_attribute_vector_rotate.cc @@ -149,7 +149,6 @@ static void do_vector_rotate_around_axis(const VArray &vector, MutableSpan results, const bool invert) { - const int size = vector.size(); VArray_Span span_vector{vector}; VArray_Span span_center{center}; VArray_Span span_axis{axis}; @@ -170,7 +169,6 @@ static void do_vector_rotate_around_fixed_axis(const VArray &vector, MutableSpan results, const bool invert) { - const int size = vector.size(); VArray_Span span_vector{vector}; VArray_Span span_center{center}; VArray_Span span_angle{angle}; @@ -189,7 +187,6 @@ static void do_vector_rotate_euler(const VArray &vector, MutableSpan results, const bool invert) { - const int size = vector.size(); VArray_Span span_vector{vector}; VArray_Span span_center{center}; VArray_Span span_rotation{rotation};