aboutsummaryrefslogtreecommitdiffstats
path: root/erts/include
diff options
context:
space:
mode:
authorTuncer Ayaz <[email protected]>2010-10-29 13:46:01 +0200
committerBjörn Gustavsson <[email protected]>2010-10-29 15:38:35 +0200
commit5ca6bc623c4a82563df3947eca35b037bcd6e8c9 (patch)
tree509a54afdfb130a17f0407b8f592b3ae6b94ad09 /erts/include
parent76378bb4a1a89d08b41d6f3df0edc6c26160bef7 (diff)
downloadotp-5ca6bc623c4a82563df3947eca35b037bcd6e8c9.tar.gz
otp-5ca6bc623c4a82563df3947eca35b037bcd6e8c9.tar.bz2
otp-5ca6bc623c4a82563df3947eca35b037bcd6e8c9.zip
ethread: do not return from void ethr_atomic_set_relb
Reported-by: Patrick Baggett <[email protected]>
Diffstat (limited to 'erts/include')
-rw-r--r--erts/include/internal/ethread.h2
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
}