From aad5078f76a35497fc78d3f5d66f2a07ad7e3211 Mon Sep 17 00:00:00 2001 From: Steve Kim Date: Mon, 17 Jun 2024 14:22:51 -0700 Subject: [PATCH] cleaning --- source/secure_tunneling.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/secure_tunneling.c b/source/secure_tunneling.c index 4cf062c9..e0b1c511 100644 --- a/source/secure_tunneling.c +++ b/source/secure_tunneling.c @@ -591,9 +591,7 @@ static void s_aws_secure_tunnel_on_stream_start_received( * being used this session */ if (secure_tunnel->connections->protocol_version == 0) { - - uint8_t message_protocol_version = s_aws_secure_tunnel_message_min_protocol_check(message_view); - secure_tunnel->connections->protocol_version = message_protocol_version; + secure_tunnel->connections->protocol_version = s_aws_secure_tunnel_message_min_protocol_check(message_view); AWS_LOGF_INFO( AWS_LS_IOTDEVICE_SECURE_TUNNELING, "id=%p: Secure tunnel client Protocol set to V%d based on received STREAM START",