- Issue #11147: Fix an unused argument in _Py_ANNOTATE_MEMORY_ORDER. (Fix

given by Campbell Barton).
This commit is contained in:
Barry Warsaw 2011-12-05 16:45:02 -05:00
parent 5b73ca4b3d
commit 9f57135465
2 changed files with 4 additions and 0 deletions

View File

@ -58,6 +58,7 @@ _Py_atomic_thread_fence(_Py_memory_order order)
static __inline__ void
_Py_ANNOTATE_MEMORY_ORDER(const volatile void *address, _Py_memory_order order)
{
(void)address; /* shut up -Wunused-parameter */
switch(order) {
case _Py_memory_order_release:
case _Py_memory_order_acq_rel:

View File

@ -10,6 +10,9 @@ What's New in Python 3.2.3?
Core and Builtins
-----------------
- Issue #11147: Fix an unused argument in _Py_ANNOTATE_MEMORY_ORDER. (Fix
given by Campbell Barton).
- Issue #7111: Python can now be run without a stdin, stdout or stderr
stream. It was already the case with Python 2. However, the corresponding
sys module entries are now set to None (instead of an unusable file object).