aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_load.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/beam_load.c
parent91b2e57ea0e3ab794d4b57a12ef10205383525a5 (diff)
downloadotp-345454e7dcfd4bc38992870cf5aa5ab7efe0c475.tar.gz
otp-345454e7dcfd4bc38992870cf5aa5ab7efe0c475.tar.bz2
otp-345454e7dcfd4bc38992870cf5aa5ab7efe0c475.zip
erts: Remove unused variables
Diffstat (limited to 'erts/emulator/beam/beam_load.c')
-rw-r--r--erts/emulator/beam/beam_load.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/erts/emulator/beam/beam_load.c b/erts/emulator/beam/beam_load.c
index 788cb4209c..2a28002957 100644
--- a/erts/emulator/beam/beam_load.c
+++ b/erts/emulator/beam/beam_load.c
@@ -1413,7 +1413,6 @@ static int
load_code(LoaderState* stp)
{
int i;
- int tmp;
int ci;
int last_func_start = 0;
char* sign;
@@ -1933,7 +1932,6 @@ load_code(LoaderState* stp)
case 'P': /* Byte offset into tuple or stack */
case 'Q': /* Like 'P', but packable */
VerifyTag(stp, tag, TAG_u);
- tmp = tmp_op->a[arg].val;
code[ci++] = (BeamInstr) ((tmp_op->a[arg].val+1) * sizeof(Eterm));
break;
case 'l': /* Floating point register. */