aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2019-03-13 13:13:46 +0100
committerBjörn Gustavsson <[email protected]>2019-03-19 16:01:59 +0100
commite93924e3e17bfb4cd5e59d6930aaed2496cabb22 (patch)
tree9373091787ba7944d48546a1c34738b219d0ca4a /erts
parent7c734fb959c4df650611c2c8a9ab49066a779e87 (diff)
downloadotp-e93924e3e17bfb4cd5e59d6930aaed2496cabb22.tar.gz
otp-e93924e3e17bfb4cd5e59d6930aaed2496cabb22.tar.bz2
otp-e93924e3e17bfb4cd5e59d6930aaed2496cabb22.zip
beam_makeops: Eliminate warning
Diffstat (limited to 'erts')
-rwxr-xr-xerts/emulator/utils/beam_makeops2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/utils/beam_makeops b/erts/emulator/utils/beam_makeops
index 1625b2cc65..605a402f2a 100755
--- a/erts/emulator/utils/beam_makeops
+++ b/erts/emulator/utils/beam_makeops
@@ -2737,7 +2737,7 @@ sub tr_maybe_keep {
return;
}
} elsif ($op eq 'store_var_next_arg') {
- return unless shift(@last_instr) eq $args[0];
+ return unless @last_instr and shift(@last_instr) eq $args[0];
} elsif (defined $pos) {
return;
}