aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/test_lib.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-05-11 15:33:08 +0200
committerBjörn Gustavsson <[email protected]>2016-05-12 09:50:18 +0200
commitc9d490bcd66141e1664cc3634445b6f4fefd498c (patch)
tree7306ce714426e090adc50d3cb174bc14eb451e51 /lib/compiler/test/test_lib.erl
parente1ad5319f0b76460d9147ef04640c469f5a180d6 (diff)
downloadotp-c9d490bcd66141e1664cc3634445b6f4fefd498c.tar.gz
otp-c9d490bcd66141e1664cc3634445b6f4fefd498c.tar.bz2
otp-c9d490bcd66141e1664cc3634445b6f4fefd498c.zip
Eliminate dialyzer warnings for unmatched returns
Dialyzer complains that three calls to gen_dec_line/7 ignore the return value. It turns out that when the last argument to gen_dec_line/7 is 'false', the return value will always be {[],[]}. Introduce gen_dec_line/6 as helper to make it clear that we don't ignore a useful return value.
Diffstat (limited to 'lib/compiler/test/test_lib.erl')
0 files changed, 0 insertions, 0 deletions