Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-05-03 10:52:11 +0300
committerCampbell Barton <campbell@blender.org>2022-05-03 11:22:54 +0300
commita821a2db3d5e4c5a302de677a127a662942c46ae (patch)
tree16c97579b5dfd54d75291c29cc7c544da2460bdf /source/blender/python/generic
parent1fc95d829f92b81737095a146313131633286b8e (diff)
Cleanup: remove redundant PyErr_Clear calls after PyErr_Fetch
Diffstat (limited to 'source/blender/python/generic')
-rw-r--r--source/blender/python/generic/py_capi_utils.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/python/generic/py_capi_utils.c b/source/blender/python/generic/py_capi_utils.c
index 7a8c320c39d..3b64fb23460 100644
--- a/source/blender/python/generic/py_capi_utils.c
+++ b/source/blender/python/generic/py_capi_utils.c
@@ -869,8 +869,6 @@ PyObject *PyC_ExceptionBuffer(void)
PyErr_Fetch(&error_type, &error_value, &error_traceback);
- PyErr_Clear();
-
/* import io
* string_io = io.StringIO()
*/