[PATCH] ethread: do not return from void ethr_atomic_set_relb
Tuncer Ayaz
tuncer.ayaz@REDACTED
Fri Oct 29 13:46:01 CEST 2010
Reported-by: Patrick Baggett <baggett.patrick@REDACTED>
---
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 4a20569..fcac7df 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
}
More information about the erlang-patches
mailing list