Skip to content

Commit 7a8d110

Browse files
author
Loïc Hoguin
committed
Fix Dialyzer warning
1 parent 93eccae commit 7a8d110

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit/src/rabbit_msg_store.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1622,7 +1622,7 @@ maybe_roll_to_new_file(
16221622
file_size_limit = FileSizeLimit })
16231623
when Offset >= FileSizeLimit ->
16241624
State1 = internal_sync(State),
1625-
file_handle_cache:close(CurHdl),
1625+
ok = file_handle_cache:close(CurHdl),
16261626
NextFile = CurFile + 1,
16271627
{ok, NextHdl} = open_file(Dir, filenum_to_name(NextFile), ?WRITE_MODE),
16281628
true = ets:insert_new(FileSummaryEts, #file_summary {

0 commit comments

Comments
 (0)