Commit fa67e000bf for freeswitch.com

commit fa67e000bf9340063ff2ae16909a47dd8531d2d8
Author: Andrey Volk <andywolk@gmail.com>
Date:   Mon Nov 9 21:53:18 2026 +0300

    [mod_sofia] scan-build: sofia_receive_message(). Value stored to 'to_tag' during its initialization is never read (#3277)

diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c
index 8cdc3f92ba..209c7ca4bc 100644
--- a/src/mod/endpoints/mod_sofia/mod_sofia.c
+++ b/src/mod/endpoints/mod_sofia/mod_sofia.c
@@ -2506,8 +2506,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi

 				/* Set sip_to_tag to local tag for inbound channels. */
 				if (switch_channel_direction(channel) == SWITCH_CALL_DIRECTION_INBOUND) {
-					const char* to_tag = "";
-					to_tag = switch_str_nil(nta_leg_get_tag(nua_get_dialog_state_leg(tech_pvt->nh)));
+					const char *to_tag = switch_str_nil(nta_leg_get_tag(nua_get_dialog_state_leg(tech_pvt->nh)));
 					if(to_tag) {
 						switch_channel_set_variable(channel, "sip_to_tag", to_tag);
 					}