Commit 8d412f36 authored by Alexandre Vassalotti's avatar Alexandre Vassalotti

Issue #3274: Use a less common identifier for the temporary variable

in Py_CLEAR().
parent 060cd1e1
...@@ -773,9 +773,9 @@ PyAPI_FUNC(void) _Py_AddToAllObjects(PyObject *, int force); ...@@ -773,9 +773,9 @@ PyAPI_FUNC(void) _Py_AddToAllObjects(PyObject *, int force);
#define Py_CLEAR(op) \ #define Py_CLEAR(op) \
do { \ do { \
if (op) { \ if (op) { \
PyObject *tmp = (PyObject *)(op); \ PyObject *_py_tmp = (PyObject *)(op); \
(op) = NULL; \ (op) = NULL; \
Py_DECREF(tmp); \ Py_DECREF(_py_tmp); \
} \ } \
} while (0) } while (0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment