@@ -692,7 +692,7 @@ static inline int th_no_dlg_onrequest(struct sip_msg *req, uint16_t flags, str *
692692
693693static char * build_encoded_contact_suffix_legacy (struct sip_msg * msg , str rr_set , int * suffix_len , int flags ) {
694694 short rr_len ,ct_len ,addr_len ,flags_len ,enc_len ;
695- char * suffix_plain = NULL ,* suffix_enc = NULL ,* p = NULL ,* s = NULL ;
695+ char * suffix_plain = NULL , * suffix_enc = NULL , * p = NULL , * s = NULL ;
696696 char * rr_set_free_str = NULL ;
697697 str contact ;
698698 str flags_str ;
@@ -950,7 +950,7 @@ static int th_binary_encode_record_route(rr_t *record_route, rr_t **out_rr, int
950950
951951static char * build_encoded_thinfo_suffix (struct sip_msg * msg , str rr_set , int * suffix_len , uint16_t flags , int socket_only ) {
952952 uint16_t enc_len = 0 ;
953- char * suffix_enc , * s ;
953+ char * suffix_enc = NULL , * s = NULL ;
954954 rr_t * next = NULL , * head = NULL ;
955955 int i , x , params_len = 0 ;
956956 struct sip_uri ctu = { 0 };
@@ -1209,11 +1209,6 @@ static int th_no_dlg_encode_contact(struct sip_msg *msg, uint16_t flags, str rou
12091209 return -1 ;
12101210}
12111211
1212- static inline void topo_no_dlg_seq_free (void * p ) {
1213- if (p )
1214- shm_free (p );
1215- }
1216-
12171212static inline int topo_no_dlg_route (struct sip_msg * msg , str rr_buf [static 1 ]) {
12181213 rr_t * head = NULL , * rrp = NULL ;
12191214 struct sip_uri rr_uri ;
0 commit comments