Text   |  XML   |  ReML   |   Visible Warnings:

Useless Assignment  at sctp_assoc_analyse.c:796

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

assoc_analyse

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/sctp_assoc_analyse.c)expand/collapse
Show more  
 789  void assoc_analyse(sctp_assoc_info_t* assoc)
 790  {
 791          struct sctp_analyse* u_data;
 792          int i;
 793   
 794          u_data = g_malloc(sizeof(struct sctp_analyse));
 795          u_data->assoc = assoc;
 796          u_data->assoc->addr_chunk_count = assoc->addr_chunk_count;
 797          u_data->window = NULL;
 798          u_data->analyse_nb = NULL;
 799          u_data->children = NULL;
 800          u_data->num_children = 0;
 801          static_assoc.addr_chunk_count =assoc->addr_chunk_count;
 802          static_assoc.port1 = assoc->port1;
 803          static_assoc.port2 = assoc->port2;
 804          for (i=0; i<NUM_CHUNKS; i++)
 805          {
 806                  static_assoc.chunk_count[i]     = assoc->chunk_count[i];
 807                  static_assoc.ep1_chunk_count[i] = assoc->ep1_chunk_count[i];
 808                  static_assoc.ep2_chunk_count[i] = assoc->ep2_chunk_count[i];
 809          }
 810          set_analyse_child(u_data);
 811          increase_analyse_childcount();
 812          static_assoc.addr_chunk_count = assoc->addr_chunk_count;
 813          create_analyse_window(u_data);
 814  }
Show more  




Change Warning 4473.30567 : Useless Assignment

Priority:
State:
Finding:
Owner:
Note: