aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/dist.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/dist.c
parent91b2e57ea0e3ab794d4b57a12ef10205383525a5 (diff)
downloadotp-345454e7dcfd4bc38992870cf5aa5ab7efe0c475.tar.gz
otp-345454e7dcfd4bc38992870cf5aa5ab7efe0c475.tar.bz2
otp-345454e7dcfd4bc38992870cf5aa5ab7efe0c475.zip
erts: Remove unused variables
Diffstat (limited to 'erts/emulator/beam/dist.c')
-rw-r--r--erts/emulator/beam/dist.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/erts/emulator/beam/dist.c b/erts/emulator/beam/dist.c
index 02910fad90..54f029bdc5 100644
--- a/erts/emulator/beam/dist.c
+++ b/erts/emulator/beam/dist.c
@@ -900,7 +900,6 @@ int erts_net_message(Port *prt,
ErtsDistExternal ede;
byte *t;
Sint ctl_len;
- int orig_ctl_len;
Eterm arg;
Eterm from, to;
Eterm watcher, watched;
@@ -981,7 +980,6 @@ int erts_net_message(Port *prt,
PURIFY_MSG("data error");
goto data_error;
}
- orig_ctl_len = ctl_len;
if (ctl_len > DIST_CTL_DEFAULT_SIZE) {
ctl = erts_alloc(ERTS_ALC_T_DCTRL_BUF, ctl_len * sizeof(Eterm));