diff options
author | Barry Warsaw <barry@python.org> | 2011-12-05 21:45:02 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2011-12-05 21:45:02 (GMT) |
commit | 9f5713546503628d4af0895eb76f1368160853be (patch) | |
tree | 9db315fc7bd89cb9d54d27da2c98a3c6d477c1fe /Include | |
parent | 5b73ca4b3d5d53f949636eb5678ea31569adbdba (diff) | |
download | cpython-9f5713546503628d4af0895eb76f1368160853be.zip cpython-9f5713546503628d4af0895eb76f1368160853be.tar.gz cpython-9f5713546503628d4af0895eb76f1368160853be.tar.bz2 |
- Issue #11147: Fix an unused argument in _Py_ANNOTATE_MEMORY_ORDER. (Fix
given by Campbell Barton).
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pyatomic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/pyatomic.h b/Include/pyatomic.h index da45327..d4e19e0 100644 --- a/Include/pyatomic.h +++ b/Include/pyatomic.h @@ -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: |