aboutsummaryrefslogtreecommitdiffstats
path: root/otp_build
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2015-06-13 15:16:00 +0200
committerKostis Sagonas <[email protected]>2015-06-13 15:16:00 +0200
commit9e67864235e2a9183746dc904f41d03743a77fd2 (patch)
tree8e5383c413805c1eb08094d97b8be5a8774584bc /otp_build
parent831aab8a46f9f659bc422fbbef4971e9e68b201f (diff)
downloadotp-9e67864235e2a9183746dc904f41d03743a77fd2.tar.gz
otp-9e67864235e2a9183746dc904f41d03743a77fd2.tar.bz2
otp-9e67864235e2a9183746dc904f41d03743a77fd2.zip
Simplify handling of o2 and o3 option expansion
A recent rewrite of some code in this file (commit 355f4b5) exposed some dialyzer warnings of some code which is unreachable. Indeed, checking whether one executes on an unsupported architecture when expanding the 'o2' and 'o3' hipe compiler options is unnecessary because that check is performed in the expansion of the 'o1' option anyway. While at it, simplified the code a bit not to have a very long case clause.
Diffstat (limited to 'otp_build')
0 files changed, 0 insertions, 0 deletions