aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/bif.c
diff options
context:
space:
mode:
authorTuncer Ayaz <[email protected]>2011-03-10 20:50:46 +0100
committerTuncer Ayaz <[email protected]>2011-03-16 16:26:46 +0100
commit345454e7dcfd4bc38992870cf5aa5ab7efe0c475 (patch)
treee1fc3b52c07502471a2e3c7f89ee4540e00f6ed8 /erts/emulator/beam/bif.c
parent91b2e57ea0e3ab794d4b57a12ef10205383525a5 (diff)
downloadotp-345454e7dcfd4bc38992870cf5aa5ab7efe0c475.tar.gz
otp-345454e7dcfd4bc38992870cf5aa5ab7efe0c475.tar.bz2
otp-345454e7dcfd4bc38992870cf5aa5ab7efe0c475.zip
erts: Remove unused variables
Diffstat (limited to 'erts/emulator/beam/bif.c')
-rw-r--r--erts/emulator/beam/bif.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/erts/emulator/beam/bif.c b/erts/emulator/beam/bif.c
index f01580eb2b..6b1ce823cb 100644
--- a/erts/emulator/beam/bif.c
+++ b/erts/emulator/beam/bif.c
@@ -368,7 +368,6 @@ static int demonitor(Process *c_p, Eterm ref)
ErtsMonitor *mon = NULL; /* The monitor entry to delete */
Process *rp; /* Local target process */
Eterm to = NIL; /* Monitor link traget */
- Eterm ref_p; /* Pid of this end */
DistEntry *dep = NULL; /* Target's distribution entry */
int deref_de = 0;
int res;
@@ -381,7 +380,6 @@ static int demonitor(Process *c_p, Eterm ref)
res = ERTS_DEMONITOR_BADARG;
goto done; /* Cannot be this monitor's ref */
}
- ref_p = c_p->id;
mon = erts_lookup_monitor(c_p->monitors, ref);
if (!mon) {