diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2010-10-29 13:46:01 +0200 |
---|---|---|
committer | Björn Gustavsson <bjorn@erlang.org> | 2010-10-29 15:38:35 +0200 |
commit | 5ca6bc623c4a82563df3947eca35b037bcd6e8c9 (patch) | |
tree | 509a54afdfb130a17f0407b8f592b3ae6b94ad09 /erts/include/internal/ethread.h | |
parent | 76378bb4a1a89d08b41d6f3df0edc6c26160bef7 (diff) | |
download | otp-5ca6bc623c4a82563df3947eca35b037bcd6e8c9.tar.gz otp-5ca6bc623c4a82563df3947eca35b037bcd6e8c9.tar.bz2 otp-5ca6bc623c4a82563df3947eca35b037bcd6e8c9.zip |
ethread: do not return from void ethr_atomic_set_relb
Reported-by: Patrick Baggett <baggett.patrick@gmail.com>
Diffstat (limited to 'erts/include/internal/ethread.h')
-rw-r--r-- | erts/include/internal/ethread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/include/internal/ethread.h b/erts/include/internal/ethread.h index 4a205699bd..fcac7dfdd3 100644 --- a/erts/include/internal/ethread.h +++ b/erts/include/internal/ethread.h @@ -757,7 +757,7 @@ ETHR_INLINE_FUNC_NAME_(ethr_atomic_set_relb)(ethr_atomic_t *var, long val) #ifdef ETHR_HAVE_NATIVE_ATOMICS ethr_native_atomic_set_relb(var, val); #else - return ETHR_INLINE_FUNC_NAME_(ethr_atomic_set)(var, val); + ETHR_INLINE_FUNC_NAME_(ethr_atomic_set)(var, val); #endif } |