aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2015-09-17 09:27:46 +0200
committerHenrik Nord <[email protected]>2015-09-17 09:27:46 +0200
commite81be158ef17428532c76bcf7d4c69284163be1e (patch)
treed87318d7339b525e725d185af2103ead6d125743 /erts
parent4e6becab23bcb8301358888f89fc45a16692a238 (diff)
parent1497898b7d680de86d64bdec133003288adee820 (diff)
downloadotp-e81be158ef17428532c76bcf7d4c69284163be1e.tar.gz
otp-e81be158ef17428532c76bcf7d4c69284163be1e.tar.bz2
otp-e81be158ef17428532c76bcf7d4c69284163be1e.zip
Merge branch 'goertzenator/enif_make_pid-unused_param' into maint
* goertzenator/enif_make_pid-unused_param: fix unused parameter warning in enif_make_pid OTP-12989
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/beam/erl_nif_api_funcs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_nif_api_funcs.h b/erts/emulator/beam/erl_nif_api_funcs.h
index f93152c921..2f2180e1aa 100644
--- a/erts/emulator/beam/erl_nif_api_funcs.h
+++ b/erts/emulator/beam/erl_nif_api_funcs.h
@@ -543,7 +543,7 @@ static ERL_NIF_INLINE ERL_NIF_TERM enif_make_list9(ErlNifEnv* env,
#ifndef enif_make_pid
-# define enif_make_pid(ENV, PID) ((const ERL_NIF_TERM)((PID)->pid))
+# define enif_make_pid(ENV, PID) ((void)(ENV),(const ERL_NIF_TERM)((PID)->pid))
#if SIZEOF_LONG == 8
# define enif_get_int64 enif_get_long