aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-07-27 10:49:19 +0200
committerLoïc Hoguin <[email protected]>2018-07-27 10:49:19 +0200
commit3c850da9664e89fbb6f47d24ae825dd5940b4ed1 (patch)
treea5969b6275c6b3ec867b03022893cf04be174e48 /src/gun.erl
parentb8ee8004b0549fae2faf46f50e6fd42a0185d6a0 (diff)
downloadgun-3c850da9664e89fbb6f47d24ae825dd5940b4ed1.tar.gz
gun-3c850da9664e89fbb6f47d24ae825dd5940b4ed1.tar.bz2
gun-3c850da9664e89fbb6f47d24ae825dd5940b4ed1.zip
Fix OTP 21 warnings
Diffstat (limited to 'src/gun.erl')
-rw-r--r--src/gun.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gun.erl b/src/gun.erl
index dbf4407..75dc5b8 100644
--- a/src/gun.erl
+++ b/src/gun.erl
@@ -14,6 +14,10 @@
-module(gun).
+-ifdef(OTP_RELEASE).
+-compile({nowarn_deprecated_function, [{erlang, get_stacktrace, 0}]}).
+-endif.
+
%% Connection.
-export([open/2]).
-export([open/3]).