diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-03-05 01:16:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-03-05 01:16:12 +0300 |
commit | 4e500101a7dd3ea578ca6d6f101c0d9ece7f5abc (patch) | |
tree | b84e5af642e8f702c2bc34a26155a49284fbda9b /source/blender/python/mathutils/mathutils_Vector.c | |
parent | fea07c1a63fdfe3bf25d77d862e83bdf024347b8 (diff) |
Cleanup: quiet -Wcomma, cast to void where needed
Diffstat (limited to 'source/blender/python/mathutils/mathutils_Vector.c')
-rw-r--r-- | source/blender/python/mathutils/mathutils_Vector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/mathutils/mathutils_Vector.c b/source/blender/python/mathutils/mathutils_Vector.c index ccfecf62979..7b6fa466fce 100644 --- a/source/blender/python/mathutils/mathutils_Vector.c +++ b/source/blender/python/mathutils/mathutils_Vector.c @@ -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) { |