Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9f57135

Browse files
committed
- Issue #11147: Fix an unused argument in _Py_ANNOTATE_MEMORY_ORDER. (Fix
given by Campbell Barton).
1 parent 5b73ca4 commit 9f57135

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

Include/pyatomic.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ _Py_atomic_thread_fence(_Py_memory_order order)
5858
static __inline__ void
5959
_Py_ANNOTATE_MEMORY_ORDER(const volatile void *address, _Py_memory_order order)
6060
{
61+
(void)address; /* shut up -Wunused-parameter */
6162
switch(order) {
6263
case _Py_memory_order_release:
6364
case _Py_memory_order_acq_rel:

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ What's New in Python 3.2.3?
1010
Core and Builtins
1111
-----------------
1212

13+
- Issue #11147: Fix an unused argument in _Py_ANNOTATE_MEMORY_ORDER. (Fix
14+
given by Campbell Barton).
15+
1316
- Issue #7111: Python can now be run without a stdin, stdout or stderr
1417
stream. It was already the case with Python 2. However, the corresponding
1518
sys module entries are now set to None (instead of an unusable file object).

0 commit comments

Comments
 (0)