From ced19783fdd31f127593f523772026a40f8655b4 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 23 Feb 2015 13:55:11 +0100 Subject: Fix mismatch (missing 'const' to mactch funcs declarations). Was breaking windows compile, reported by bdancer over IRC, thanks. Also, quite some annoying 'unused vars' warnings (debug-only vars). --- source/blender/python/bmesh/bmesh_py_utils.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/python/bmesh') diff --git a/source/blender/python/bmesh/bmesh_py_utils.c b/source/blender/python/bmesh/bmesh_py_utils.c index 0b667ab9029..2e32a571e3c 100644 --- a/source/blender/python/bmesh/bmesh_py_utils.c +++ b/source/blender/python/bmesh/bmesh_py_utils.c @@ -255,6 +255,7 @@ static PyObject *bpy_bm_utils_vert_splice(PyObject *UNUSED(self), PyObject *args /* should always succeed */ ok = BM_vert_splice(bm, py_vert->v, py_vert_target->v); BLI_assert(ok == true); + UNUSED_VARS_NDEBUG(ok); Py_RETURN_NONE; } -- cgit v1.2.3