aboutsummaryrefslogtreecommitdiffstats
path: root/make/install_bin
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-02-06 07:30:37 +0100
committerBjörn Gustavsson <[email protected]>2013-02-06 15:05:02 +0100
commita42c2fd51a6e7f71866228d77eca10435550a5d6 (patch)
treed7eadfdc2bb6a39058a5c149538ff789e1908b0b /make/install_bin
parent28dce0b9ea79f8635a3253da7f4d3c6e49cb48b8 (diff)
downloadotp-a42c2fd51a6e7f71866228d77eca10435550a5d6.tar.gz
otp-a42c2fd51a6e7f71866228d77eca10435550a5d6.tar.bz2
otp-a42c2fd51a6e7f71866228d77eca10435550a5d6.zip
beam_validator: Eliminate dialyzer warnings for unmatched returns
The assert_fls/2 and assert_type/3 functions both return the Vst passed to them, but all callers ignore the return value. Given the name of the functions, they are not expected to return anything. Make it so by changing the return value to 'ok'. There are two calls to bsm_get_context/2 used only to validate that the match context is valid. Call bsm_validate_context/2 instead. In bsm_validate_context/2, explicitly match the return value of bsm_get_context/2 to '_' to make it clear that it is not used.
Diffstat (limited to 'make/install_bin')
0 files changed, 0 insertions, 0 deletions