Cleanup: remove unused argument, warnings
This commit is contained in:
@@ -2681,8 +2681,8 @@ static int Vector_swizzle_set(VectorObject *self, PyObject *value, void *closure
|
||||
size_from = axis_from;
|
||||
}
|
||||
else if ((void)PyErr_Clear(), /* run but ignore the result */
|
||||
(size_from = mathutils_array_parse(
|
||||
vec_assign, 2, 4, value, "mathutils.Vector.**** = swizzle assignment")) == -1) {
|
||||
(size_from = (size_t)mathutils_array_parse(
|
||||
vec_assign, 2, 4, value, "Vector.**** = swizzle assignment")) == (size_t)-1) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user