Skip to content

Commit 3343bb8

Browse files
authored
Fix some warnings (#332)
1 parent ecd72bf commit 3343bb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/h2_connection.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2518,8 +2518,8 @@ static int s_connection_get_received_goaway(
25182518
uint32_t *out_last_stream_id) {
25192519

25202520
struct aws_h2_connection *connection = AWS_CONTAINER_OF(connection_base, struct aws_h2_connection, base);
2521-
uint32_t received_last_stream_id;
2522-
uint32_t received_http2_error;
2521+
uint32_t received_last_stream_id = 0;
2522+
uint32_t received_http2_error = 0;
25232523
bool goaway_not_ready = false;
25242524
uint32_t max_stream_id = AWS_H2_STREAM_ID_MAX;
25252525
{ /* BEGIN CRITICAL SECTION */

0 commit comments

Comments
 (0)