Do not use underscore variable

This commit is contained in:
Mickael Remond 2016-04-01 12:24:49 +02:00
parent f243c30847
commit 47266de6d7
1 changed files with 2 additions and 2 deletions

View File

@ -188,8 +188,8 @@ check_permissions2(#request{ip={IP, _Port}}, Call, _Policy) ->
true -> {allowed, Call, admin}; true -> {allowed, Call, admin};
_ -> unauthorized_response() _ -> unauthorized_response()
end; end;
_E -> E ->
?DEBUG("Unauthorized: ~p", [_E]), ?DEBUG("Unauthorized: ~p", [E]),
unauthorized_response() unauthorized_response()
end; end;
check_permissions2(_Request, _Call, _Policy) -> check_permissions2(_Request, _Call, _Policy) ->