aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/bif.c
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2011-04-08 11:28:47 +0200
committerMicael Karlberg <[email protected]>2011-04-08 11:28:47 +0200
commitc7022587ac4974dc13403e8493a9885e32f44e7b (patch)
tree4fc2191d1bcffad7d1b1fc9072f31cc36df77cc0 /erts/emulator/beam/bif.c
parent2b46b0e42fe95d99619ffa343537c8468e27295c (diff)
parent5ad09d2928fd4584ce6dc50f44825b3f6d7ef66a (diff)
downloadotp-c7022587ac4974dc13403e8493a9885e32f44e7b.tar.gz
otp-c7022587ac4974dc13403e8493a9885e32f44e7b.tar.bz2
otp-c7022587ac4974dc13403e8493a9885e32f44e7b.zip
Merge branch 'dev' into bmk/snmp/snmp420_integration
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) {