aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_unicode.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/erl_unicode.c
parent91b2e57ea0e3ab794d4b57a12ef10205383525a5 (diff)
downloadotp-345454e7dcfd4bc38992870cf5aa5ab7efe0c475.tar.gz
otp-345454e7dcfd4bc38992870cf5aa5ab7efe0c475.tar.bz2
otp-345454e7dcfd4bc38992870cf5aa5ab7efe0c475.zip
erts: Remove unused variables
Diffstat (limited to 'erts/emulator/beam/erl_unicode.c')
-rw-r--r--erts/emulator/beam/erl_unicode.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_unicode.c b/erts/emulator/beam/erl_unicode.c
index 545b345a71..dacf228e92 100644
--- a/erts/emulator/beam/erl_unicode.c
+++ b/erts/emulator/beam/erl_unicode.c
@@ -902,7 +902,6 @@ static BIF_RETTYPE build_utf8_return(Process *p,Eterm bin,int pos,
static BIF_RETTYPE characters_to_utf8_trap(BIF_ALIST_3)
{
Eterm *real_bin;
- Sint need;
byte* bytes;
Eterm rest_term;
int left, sleft;
@@ -918,7 +917,6 @@ static BIF_RETTYPE characters_to_utf8_trap(BIF_ALIST_3)
ASSERT(is_binary(BIF_ARG_1));
real_bin = binary_val(BIF_ARG_1);
ASSERT(*real_bin == HEADER_PROC_BIN);
- need = ((ProcBin *) real_bin)->val->orig_size;
pos = (int) binary_size(BIF_ARG_1);
bytes = binary_bytes(BIF_ARG_1);
sleft = left = allowed_iterations(BIF_P);