diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-07-13 20:42:44 (GMT) |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-07-13 20:42:44 (GMT) |
commit | 8d412f36b5808892d6c7aa0706f2fa6f1505f8f6 (patch) | |
tree | 59ef784c7de644586d1a4c9882ce40ee31e10902 /Include | |
parent | 060cd1e1eab13add457d7bc40459d630e894ee6a (diff) | |
download | cpython-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.h | 4 |
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) |