aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2018-05-15 10:21:02 +0200
committerLukas Larsson <[email protected]>2018-05-15 10:21:53 +0200
commit09b16bc5e833af56c52e1fa9156f13eacf35f26b (patch)
treec1287d089bb0dc477d70156a559887e94ef6e4c7
parentaf60ccf4b2b176ff10a16b5285efbeaf4d16d3af (diff)
downloadotp-09b16bc5e833af56c52e1fa9156f13eacf35f26b.tar.gz
otp-09b16bc5e833af56c52e1fa9156f13eacf35f26b.tar.bz2
otp-09b16bc5e833af56c52e1fa9156f13eacf35f26b.zip
erts: Fix erts_os_times warning
-rw-r--r--erts/emulator/sys/unix/erl_unix_sys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/sys/unix/erl_unix_sys.h b/erts/emulator/sys/unix/erl_unix_sys.h
index e367d565a7..10adf80875 100644
--- a/erts/emulator/sys/unix/erl_unix_sys.h
+++ b/erts/emulator/sys/unix/erl_unix_sys.h
@@ -264,7 +264,7 @@ erts_os_monotonic_time(void)
ERTS_GLB_INLINE void
erts_os_times(ErtsMonotonicTime *mtimep, ErtsSystemTime *stimep)
{
- return (*erts_sys_time_data__.r.o.os_times)(mtimep, stimep);
+ (*erts_sys_time_data__.r.o.os_times)(mtimep, stimep);
}
#endif /* ERTS_OS_TIMES_INLINE_FUNC_PTR_CALL__ */