Skip to content

Commit 392ac3f

Browse files
Added pointless enum intializer to appease a crappy compiler we shouldn't be supporting in the first place. (#255)
1 parent e29c7c6 commit 392ac3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/hpack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1371,7 +1371,7 @@ static int s_encode_header_field(
13711371
/* Else, Literal header field... */
13721372

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

0 commit comments

Comments
 (0)