Cleanup: remove unused argument, warnings

This commit is contained in:
2023-01-25 11:03:17 +11:00
parent 0c2b2cdb78
commit 9c71f5807f
3 changed files with 6 additions and 7 deletions

View File

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