aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2019-01-08 07:10:50 +0100
committerJohn Högberg <[email protected]>2019-01-08 07:10:57 +0100
commitc33dd1a2aa34b45f67b67f379d5e61985ac851fe (patch)
tree5dcc229ae167b6cbd0b0a6b396714c105f86f811 /erts
parent4f183d3836c6a0adec7f28076e5087733f7eb1ee (diff)
downloadotp-c33dd1a2aa34b45f67b67f379d5e61985ac851fe.tar.gz
otp-c33dd1a2aa34b45f67b67f379d5e61985ac851fe.tar.bz2
otp-c33dd1a2aa34b45f67b67f379d5e61985ac851fe.zip
Remove an unused variable
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/nifs/common/prim_file_nif.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/erts/emulator/nifs/common/prim_file_nif.c b/erts/emulator/nifs/common/prim_file_nif.c
index 5fff55b467..a78ee62677 100644
--- a/erts/emulator/nifs/common/prim_file_nif.c
+++ b/erts/emulator/nifs/common/prim_file_nif.c
@@ -38,7 +38,6 @@ static void unload(ErlNifEnv *env, void* priv_data);
static ErlNifResourceType *efile_resource_type;
-static ERL_NIF_TERM am_erts_prim_file;
static ERL_NIF_TERM am_close;
static ERL_NIF_TERM am_ok;
@@ -220,7 +219,6 @@ static int load(ErlNifEnv *env, void** priv_data, ERL_NIF_TERM prim_file_pid)
ASSERT(!"bad pid passed to prim_file_nif");
}
- am_erts_prim_file = enif_make_atom(env, "erts_prim_file");
am_close = enif_make_atom(env, "close");
am_ok = enif_make_atom(env, "ok");