Cleanup: quiet -Wcomma, cast to void where needed

This commit is contained in:
2016-03-05 09:16:12 +11:00
parent fea07c1a63
commit 4e500101a7
20 changed files with 53 additions and 41 deletions

View File

@@ -2284,7 +2284,7 @@ static int Vector_swizzle_set(VectorObject *self, PyObject *value, void *closure
size_from = axis_from;
}
else if ((PyErr_Clear()), /* run but ignore the result */
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)
{