Skip to content

Commit

Permalink
11 dialyzer errors left
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT committed Apr 23, 2019
1 parent f640ad2 commit 4df1d52
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/kvs.erl
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,7 @@ ensure_link(Record, #kvs{mod=_Store}=Driver) ->
C2 = setelement(#container.top, Container, Id),
C3 = setelement(#container.count, C2, element(#container.count, Container)+1),

R = setelement(#iterator.feeds, Record,
[ case F1 of
{FN, Fd} -> {FN, Fd};
_-> {F1, kvs:create(CName,{F1,element(#iterator.id,Record)},Driver)}
end || F1 <- element(#iterator.feeds, Record)]),
R = Record,

R1 = setelement(#iterator.next, R, Next),
R2 = setelement(#iterator.prev, R1, Prev),
Expand Down

0 comments on commit 4df1d52

Please sign in to comment.