Merge pull request #228 from martinsumner/mas-i223-dialyzer
Fix dialyzer warnings
This commit is contained in:
commit
401228c84e
1 changed files with 5 additions and 2 deletions
|
@ -160,6 +160,10 @@
|
||||||
:: leveled_codec:ledger_kv()|expandable_pointer().
|
:: leveled_codec:ledger_kv()|expandable_pointer().
|
||||||
-type binaryslot_element()
|
-type binaryslot_element()
|
||||||
:: {tuple(), tuple()}|{binary(), integer(), tuple(), tuple()}.
|
:: {tuple(), tuple()}|{binary(), integer(), tuple(), tuple()}.
|
||||||
|
-type tuned_seglist()
|
||||||
|
:: false|
|
||||||
|
{sets, sets:set(non_neg_integer())}|
|
||||||
|
{list, list(non_neg_integer())}.
|
||||||
|
|
||||||
%% yield_blockquery is used to detemrine if the work necessary to process a
|
%% yield_blockquery is used to detemrine if the work necessary to process a
|
||||||
%% range query beyond the fetching the slot should be managed from within
|
%% range query beyond the fetching the slot should be managed from within
|
||||||
|
@ -895,8 +899,7 @@ cache_hash({_SegHash, ExtraHash}) when is_integer(ExtraHash) ->
|
||||||
tune_hash(SegHash) ->
|
tune_hash(SegHash) ->
|
||||||
SegHash band 32767.
|
SegHash band 32767.
|
||||||
|
|
||||||
-spec tune_seglist(leveled_codec:segment_list())
|
-spec tune_seglist(leveled_codec:segment_list()) -> tuned_seglist().
|
||||||
-> leveled_codec:segment_list().
|
|
||||||
%% @doc
|
%% @doc
|
||||||
%% Only 15 bits of the hash is ever interesting
|
%% Only 15 bits of the hash is ever interesting
|
||||||
tune_seglist(SegList) ->
|
tune_seglist(SegList) ->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue