diff options
author | Björn Gustavsson <[email protected]> | 2013-02-07 09:51:11 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-02-07 09:51:11 +0100 |
commit | 8e31a2f4999fdb0685a860a136ab9e0dc31b9821 (patch) | |
tree | 5f1792af4eb6f28ac309a12da91c182aafd7e9ff /lib/compiler/src/beam_receive.erl | |
parent | 80aff33cd27d29692936186ae6c370fbc86e6250 (diff) | |
parent | a12ad74643bdb143b0811a65db9a7bbd8a7697de (diff) | |
download | otp-8e31a2f4999fdb0685a860a136ab9e0dc31b9821.tar.gz otp-8e31a2f4999fdb0685a860a136ab9e0dc31b9821.tar.bz2 otp-8e31a2f4999fdb0685a860a136ab9e0dc31b9821.zip |
Merge branch 'bjorn/compiler/dialyzer-warnings'
* bjorn/compiler/dialyzer-warnings:
compile: Eliminate warnings for unmatched return values
beam_receive: Eliminate dialyzer warning for unmatched return
beam_validator: Eliminate dialyzer warnings for unmatched returns
Diffstat (limited to 'lib/compiler/src/beam_receive.erl')
-rw-r--r-- | lib/compiler/src/beam_receive.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/src/beam_receive.erl b/lib/compiler/src/beam_receive.erl index 0bb527aeb9..3dd5ed182e 100644 --- a/lib/compiler/src/beam_receive.erl +++ b/lib/compiler/src/beam_receive.erl @@ -249,7 +249,7 @@ opt_ref_used(Is, RefReg, Fail, D) -> Done = gb_sets:singleton(Fail), Regs = regs_init_x0(), try - opt_ref_used_1(Is, RefReg, D, Done, Regs), + _ = opt_ref_used_1(Is, RefReg, D, Done, Regs), true catch throw:not_used -> |