Text   |  XML   |  ReML   |   Visible Warnings:

Redundant Condition  at tcp_graph.c:509

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

tcp_graph_cb

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/tcp_graph.c)expand/collapse
Show more  
 499  static void tcp_graph_cb (GtkWidget *w _U_, gpointer data, guint callback_action /*graph_type*/ _U_)
 500  {
 501          struct segment current;
 502          struct graph *g;
 503          struct tcpheader *thdr;
 504   
 505          guint graph_type = GPOINTER_TO_INT(data);
 506   
 507          debug(DBS_FENTRY) puts ("tcp_graph_cb()");
 508   
 509          if (! (g = graph_new()))
 510                  return;
 511   
 512          refnum++;
 513          graph_initialize_values (g);
 514   
 515          g->type = graph_type;
 516          if (!(thdr=select_tcpip_session (&cfile, &current))) {
 517                  return;
 518          }
 519   
 520          graph_segment_list_get(g);
 521          create_gui(g);
 522          /* display_text(g); */
 523          graph_init_sequence(g);
 524  }
Show more  




Change Warning 4593.31802 : Redundant Condition

Priority:
State:
Finding:
Owner:
Note: