summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2008-07-13 20:42:44 (GMT)
committerAlexandre Vassalotti <alexandre@peadrop.com>2008-07-13 20:42:44 (GMT)
commit8d412f36b5808892d6c7aa0706f2fa6f1505f8f6 (patch)
tree59ef784c7de644586d1a4c9882ce40ee31e10902 /Include
parent060cd1e1eab13add457d7bc40459d630e894ee6a (diff)
downloadcpython-8d412f36b5808892d6c7aa0706f2fa6f1505f8f6.zip
cpython-8d412f36b5808892d6c7aa0706f2fa6f1505f8f6.tar.gz
cpython-8d412f36b5808892d6c7aa0706f2fa6f1505f8f6.tar.bz2
Issue #3274: Use a less common identifier for the temporary variable
in Py_CLEAR().
Diffstat (limited to 'Include')
-rw-r--r--Include/object.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/object.h b/Include/object.h
index 59f3b9e..e447769 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -773,9 +773,9 @@ PyAPI_FUNC(void) _Py_AddToAllObjects(PyObject *, int force);
#define Py_CLEAR(op) \
do { \
if (op) { \
- PyObject *tmp = (PyObject *)(op); \
+ PyObject *_py_tmp = (PyObject *)(op); \
(op) = NULL; \
- Py_DECREF(tmp); \
+ Py_DECREF(_py_tmp); \
} \
} while (0)