Skip to content

Commit

Permalink
Added pointless enum intializer to appease a crappy compiler we shoul…
Browse files Browse the repository at this point in the history
…dn't be supporting in the first place. (#255)
  • Loading branch information
JonathanHenson authored Jun 3, 2020
1 parent e29c7c6 commit 392ac3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/hpack.c
Original file line number Diff line number Diff line change
Expand Up @@ -1371,7 +1371,7 @@ static int s_encode_header_field(
/* Else, Literal header field... */

/* determine exactly which type of literal header-field to encode. */
enum aws_hpack_entry_type literal_entry_type;
enum aws_hpack_entry_type literal_entry_type = AWS_HPACK_ENTRY_TYPE_COUNT;
if (s_convert_http_compression_to_literal_entry_type(header->compression, &literal_entry_type)) {
goto error;
}
Expand Down

0 comments on commit 392ac3f

Please sign in to comment.