]> granicus.if.org Git - python/commitdiff
Issue #3274: Use a less common identifier for the temporary variable
authorAlexandre Vassalotti <alexandre@peadrop.com>
Sun, 13 Jul 2008 20:42:44 +0000 (20:42 +0000)
committerAlexandre Vassalotti <alexandre@peadrop.com>
Sun, 13 Jul 2008 20:42:44 +0000 (20:42 +0000)
in Py_CLEAR().

Include/object.h

index 59f3b9e1b100c6815585243d3112ae25c3277115..e447769915b08c8f49d03a7214e27e39d2ff55d5 100644 (file)
@@ -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)