From 4e500101a7dd3ea578ca6d6f101c0d9ece7f5abc Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 5 Mar 2016 09:16:12 +1100 Subject: Cleanup: quiet -Wcomma, cast to void where needed --- source/blender/python/mathutils/mathutils_Vector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/python/mathutils') 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) { -- cgit v1.2.3