aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun_spdy.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-04-10 13:04:05 +0300
committerLoïc Hoguin <[email protected]>2015-04-10 13:04:05 +0300
commitba90cb2475c45b5348c4ff7f4f77729f04a98114 (patch)
tree21cdb358c91d2c612e6b0ddc9e870fc77fa254cc /src/gun_spdy.erl
parent6676a982ff18d6a6b346f608e7ce313cfccc873e (diff)
downloadgun-ba90cb2475c45b5348c4ff7f4f77729f04a98114.tar.gz
gun-ba90cb2475c45b5348c4ff7f4f77729f04a98114.tar.bz2
gun-ba90cb2475c45b5348c4ff7f4f77729f04a98114.zip
Make Dialyzer happy
Diffstat (limited to 'src/gun_spdy.erl')
-rw-r--r--src/gun_spdy.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gun_spdy.erl b/src/gun_spdy.erl
index c417e78..9a7d493 100644
--- a/src/gun_spdy.erl
+++ b/src/gun_spdy.erl
@@ -49,6 +49,8 @@
check_options(Opts) ->
do_check_options(maps:to_list(Opts)).
+do_check_options([]) ->
+ ok;
do_check_options([{keepalive, K}|Opts]) when is_integer(K), K > 0 ->
do_check_options(Opts);
do_check_options([Opt|_]) ->