aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/dist.c
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2011-04-07 16:16:48 +0200
committerHenrik Nord <[email protected]>2011-04-07 16:16:59 +0200
commit5ad09d2928fd4584ce6dc50f44825b3f6d7ef66a (patch)
treed0a3d7062cfb7b87e114fdf37eeaac790beb69d4 /erts/emulator/beam/dist.c
parent4144043663ffe31742c1a7c3fe50135c8382db7c (diff)
parent345454e7dcfd4bc38992870cf5aa5ab7efe0c475 (diff)
downloadotp-5ad09d2928fd4584ce6dc50f44825b3f6d7ef66a.tar.gz
otp-5ad09d2928fd4584ce6dc50f44825b3f6d7ef66a.tar.bz2
otp-5ad09d2928fd4584ce6dc50f44825b3f6d7ef66a.zip
Merge branch 'ta/erts-unused-vars' into dev
* ta/erts-unused-vars: erts: Remove unused variables OTP-9205
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 044fd045a6..05eddf4ae0 100644
--- a/erts/emulator/beam/dist.c
+++ b/erts/emulator/beam/dist.c
@@ -904,7 +904,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;
@@ -985,7 +984,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));