aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-03-15 18:41:48 +0100
committerLoïc Hoguin <[email protected]>2020-03-15 18:41:48 +0100
commite37af7ac0caffc661def1593c55b212cc2f05d3e (patch)
tree0e55296085281e8360261394259c9988b4bd83ac /src/gun.erl
parent87d0bfff926892d2dc0a55a3dc45d8c5f8a682f3 (diff)
downloadgun-e37af7ac0caffc661def1593c55b212cc2f05d3e.tar.gz
gun-e37af7ac0caffc661def1593c55b212cc2f05d3e.tar.bz2
gun-e37af7ac0caffc661def1593c55b212cc2f05d3e.zip
Document the cookie store option and related modules
Also contains a few small changes and Dialyzer fixes.
Diffstat (limited to 'src/gun.erl')
-rw-r--r--src/gun.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gun.erl b/src/gun.erl
index 7e468f3..b8030cf 100644
--- a/src/gun.erl
+++ b/src/gun.erl
@@ -1585,7 +1585,7 @@ owner_down(Reason, State) -> {stop, {shutdown, {owner_down, Reason}}, State}.
terminate(Reason, StateName, #state{event_handler=EvHandler,
event_handler_state=EvHandlerState, cookie_store=Store}) ->
- case Store of
+ _ = case Store of
undefined -> ok;
%% Optimization: gun_cookies_list isn't a persistent cookie store.
{gun_cookies_list, _} -> ok;