Skip to content

Commit 1709368

Browse files
committed
Ignore lock kind argument when dirty-deleting a route
1 parent 7705d4e commit 1709368

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rabbit_binding.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ binding_action(Binding = #binding{source = SrcName,
339339
Fun(Src, Dst, Binding#binding{args = SortedArgs})
340340
end, ErrFun).
341341

342-
dirty_delete_object(Table, Record, LockKind) ->
342+
dirty_delete_object(Table, Record, _LockKind) ->
343343
mnesia:dirty_delete_object(Table, Record).
344344

345345
sync_route(Route, true, true, Fun) ->

0 commit comments

Comments
 (0)