Skip to content

Commit d22dddf

Browse files
committed
Fix unused variable error
1 parent cb11a4f commit d22dddf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cow_http2_machine.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ headers_decode(Frame=#headers{head=head_fin, data=HeaderData},
566566
{error, {connection_error, enhance_your_calm,
567567
'The number of headers is larger than configuration allows. (RFC9110 5.4)'},
568568
State};
569-
C:E ->
569+
_:_ ->
570570
{error, {connection_error, compression_error,
571571
'Error while trying to decode HPACK-encoded header block. (RFC7540 4.3)'},
572572
State}

0 commit comments

Comments
 (0)