aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2016-10-18 13:08:38 +0200
committerKostis Sagonas <[email protected]>2016-10-18 13:08:38 +0200
commit0c7e4330ddced978934dd63520795554b29244a2 (patch)
treed3f874a3abd48a81fe1aa31d2fc142ab25d5d6fa /lib/dialyzer
parent0c480fab8830febf8911d2eb6618a144dc90b8cc (diff)
downloadotp-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/dialyzer')
0 files changed, 0 insertions, 0 deletions