Unused Value at sctp_assoc_analyse.c:126 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
on_chunk_stat_bt (/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/sctp_assoc_analyse.c)![]() | ||||||
![]() | ||||||
121 | static void on_chunk_stat_bt(GtkWidget * _U_, struct sctp_analyse* u_data) | |||||
122 | { | |||||
123 | sctp_assoc_info_t* assinfo = NULL; | |||||
124 | int i; | |||||
125 | ||||||
126 | assinfo = g_malloc(sizeof(sctp_assoc_info_t));
| |||||
127 | assinfo = &static_assoc; | |||||
128 | assinfo->addr_chunk_count = (static_assoc.addr_chunk_count); | |||||
129 | for (i=0; i<NUM_CHUNKS; i++) | |||||
130 | { | |||||
131 | assinfo->chunk_count[i] = static_assoc.chunk_count[i]; | |||||
132 | assinfo->ep1_chunk_count[i] = static_assoc.ep1_chunk_count[i]; | |||||
133 | assinfo->ep2_chunk_count[i] = static_assoc.ep2_chunk_count[i]; | |||||
134 | } | |||||
135 | u_data->assoc = assinfo; | |||||
136 | sctp_chunk_dlg_show(u_data); | |||||
137 | } | |||||
![]() |