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};