Text   |  XML   |  ReML   |   Visible Warnings:

Ignored Return Value  at flow_graph.c:442

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

flow_graph_on_ok

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/flow_graph.c)expand/collapse
Show more  
 403  flow_graph_on_ok                    (GtkButton       *button _U_,
 404                                          gpointer         user_data)
 405  {
 406   
 407          if ((have_frame_tap_listener==TRUE)
 408                  ||(have_tcp_tap_listener==TRUE))
 409          {
 410                  /* remove_tap_listeners */
 411                  remove_tap_listener_flow_graph();
 412          }
 413   
 414          /* Scan for displayed packets (retap all packets) */
 415   
 416          if (type_of_flow == GENERAL){
 417                  /* Register the tap listener */
 418   
 419                  if(have_frame_tap_listener==FALSE)
 420                  {
 421                          /* don't register tap listener, if we have it already */
 422                          register_tap_listener("frame", &tap_identifier, NULL,
 423                                  flow_graph_reset,
 424                                  flow_graph_frame_packet,
 425                                  flow_graph_packet_draw 
 426                                  );
 427                          have_frame_tap_listener=TRUE;
 428                  }
 429   
 430                  cf_retap_packets(&cfile, TRUE);
 431          }
 432          else if (type_of_flow == TCP){
 433          /* Register the tap listener */
 434   
 435                  if(have_tcp_tap_listener==FALSE)
 436                  {
 437                          /* don't register tap listener, if we have it already */
 438                          register_tap_listener("tcp", &tap_identifier, NULL,
 439                                  flow_graph_reset,
 440                                  flow_graph_tcp_packet,
 441                                  flow_graph_packet_draw 
 442                                  );
 443                          have_tcp_tap_listener=TRUE;
 444                  }
 445   
 446                  cf_retap_packets(&cfile, FALSE);
 447          }
 448   
 449          if (graph_analysis_data->dlg.window != NULL){ /* if we still have a window */
 450                  graph_analysis_update(graph_analysis_data);             /* refresh it xxx */
 451          }
 452          else{
 453                  graph_analysis_data->dlg.parent_w = user_data;
 454                  graph_analysis_create(graph_analysis_data);
 455          }
 456   
 457  }
Show more  




Change Warning 5460.35679 : Ignored Return Value

Because they are very similar, this warning shares annotations with warning 5460.35680.

Priority:
State:
Finding:
Owner:
Note: