aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2024-01-05 12:31:19 +0100
committerLoïc Hoguin <[email protected]>2024-01-05 12:31:19 +0100
commit8f49f8792ac5993b46dafcc04d87fb62056c9a80 (patch)
tree81999b47660bb53738d6c0ac5d552cff6df69f02 /src
parentfd9711d9495e4ddcd41eda7a284dfc7f37c11f15 (diff)
downloadcowboy-8f49f8792ac5993b46dafcc04d87fb62056c9a80.tar.gz
cowboy-8f49f8792ac5993b46dafcc04d87fb62056c9a80.tar.bz2
cowboy-8f49f8792ac5993b46dafcc04d87fb62056c9a80.zip
Fix Dialyzer warnings caused by my decompress changes
Diffstat (limited to 'src')
-rw-r--r--src/cowboy_decompress_h.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_decompress_h.erl b/src/cowboy_decompress_h.erl
index d13601b..4e86e23 100644
--- a/src/cowboy_decompress_h.erl
+++ b/src/cowboy_decompress_h.erl
@@ -24,7 +24,7 @@
-record(state, {
next :: any(),
- enabled :: boolean(),
+ enabled = true :: boolean(),
ratio_limit :: non_neg_integer() | undefined,
compress = undefined :: undefined | gzip,
inflate = undefined :: undefined | zlib:zstream(),