From 8d412f36b5808892d6c7aa0706f2fa6f1505f8f6 Mon Sep 17 00:00:00 2001 From: Alexandre Vassalotti Date: Sun, 13 Jul 2008 20:42:44 +0000 Subject: Issue #3274: Use a less common identifier for the temporary variable in Py_CLEAR(). --- Include/object.h | 4 ++-- 1 file 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) -- cgit v0.12