diff options
author | Kostis Sagonas <[email protected]> | 2016-10-18 13:08:38 +0200 |
---|---|---|
committer | Kostis Sagonas <[email protected]> | 2016-10-18 13:08:38 +0200 |
commit | 0c7e4330ddced978934dd63520795554b29244a2 (patch) | |
tree | d3f874a3abd48a81fe1aa31d2fc142ab25d5d6fa /lib/kernel/src/pg2.erl | |
parent | 0c480fab8830febf8911d2eb6618a144dc90b8cc (diff) | |
download | otp-0c7e4330ddced978934dd63520795554b29244a2.tar.gz otp-0c7e4330ddced978934dd63520795554b29244a2.tar.bz2 otp-0c7e4330ddced978934dd63520795554b29244a2.zip |
Code cleanup to remove confusing assertion
The code of add_ref/6 contained an assertion that somehow appeared
twice. Also, a recent commit (2b2de61) suppressed an unmatched
return warning in a non-optimal way. By changing the return type
of hipe_bifs:add_ref/2 to be 'ok' instead of [] the code can be
cleaned up and simplified.
While at it, fixed the wrong indentation of some nearby code.
Diffstat (limited to 'lib/kernel/src/pg2.erl')
0 files changed, 0 insertions, 0 deletions