diff options
author | Björn Gustavsson <[email protected]> | 2013-02-06 07:30:37 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-02-06 15:05:02 +0100 |
commit | a42c2fd51a6e7f71866228d77eca10435550a5d6 (patch) | |
tree | d7eadfdc2bb6a39058a5c149538ff789e1908b0b /lib/cosTime/AUTHORS | |
parent | 28dce0b9ea79f8635a3253da7f4d3c6e49cb48b8 (diff) | |
download | otp-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 'lib/cosTime/AUTHORS')
0 files changed, 0 insertions, 0 deletions