Skip to content

Commit 3de7cce

Browse files
committed
Fix dialyzer warning
1 parent 5b83603 commit 3de7cce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ejabberd_auth_sql.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ serialize(LServer, BatchSize, Last) ->
494494
end,
495495
Rows),
496496
Data2 = case length(Rows) < BatchSize of
497-
true -> Data ++ [#serialize_auth_v1{}];
497+
true -> Data ++ [#serialize_auth_v1{serverhost = <<>>, username = <<>>, passwords = []}];
498498
_ -> Data
499499
end,
500500
{_, Data3, _, RC2} = lists:foldl(

0 commit comments

Comments
 (0)