diff options
author | Loïc Hoguin <[email protected]> | 2018-07-27 10:49:19 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-07-27 10:49:19 +0200 |
commit | 3c850da9664e89fbb6f47d24ae825dd5940b4ed1 (patch) | |
tree | a5969b6275c6b3ec867b03022893cf04be174e48 /src/gun.erl | |
parent | b8ee8004b0549fae2faf46f50e6fd42a0185d6a0 (diff) | |
download | gun-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.erl | 4 |
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]). |