aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Goertzen <[email protected]>2015-08-11 12:02:50 -0500
committerDaniel Goertzen <[email protected]>2015-08-11 12:02:50 -0500
commit1497898b7d680de86d64bdec133003288adee820 (patch)
treeaf5e1b1fc607a91c4e7192121180a46756819d36
parent98647fcc1632f60871adee20031e294e5d5b6eb0 (diff)
downloadotp-1497898b7d680de86d64bdec133003288adee820.tar.gz
otp-1497898b7d680de86d64bdec133003288adee820.tar.bz2
otp-1497898b7d680de86d64bdec133003288adee820.zip
fix unused parameter warning in enif_make_pid
-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