Skip to content

Commit 02f09cd

Browse files
author
alexandre.vassalotti
committed
Issue #3274: Use a less common identifier for the temporary variable
in Py_CLEAR(). git-svn-id: http://svn.python.org/projects/python/trunk@64927 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 08e71fd commit 02f09cd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Include/object.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -773,9 +773,9 @@ PyAPI_FUNC(void) _Py_AddToAllObjects(PyObject *, int force);
773773
#define Py_CLEAR(op) \
774774
do { \
775775
if (op) { \
776-
PyObject *tmp = (PyObject *)(op); \
776+
PyObject *_py_tmp = (PyObject *)(op); \
777777
(op) = NULL; \
778-
Py_DECREF(tmp); \
778+
Py_DECREF(_py_tmp); \
779779
} \
780780
} while (0)
781781

0 commit comments

Comments
 (0)