Dump test utility - does not need to cope with CRC failure

Dump is used in tests only
This commit is contained in:
martinsumner 2016-11-03 19:55:19 +00:00
parent 49eed55735
commit 72b9b35dac

View file

@ -1349,9 +1349,6 @@ dump(FileName) ->
{KL,VL} = read_next_2_integers(Handle),
Key = read_next_term(Handle, KL),
case read_next_term(Handle, VL, crc) of
{false, _} ->
{ok, CurrLoc} = file:position(Handle, cur),
Return = {crc_wonky, get(Handle, Key)};
{_, Value} ->
{ok, CurrLoc} = file:position(Handle, cur),
Return =