Text   |  XML   |  ReML   |   Visible Warnings:

Unreachable Call  at main_packet_list.c:305

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

set_frame_mark

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/main_packet_list.c)expand/collapse
Show more  
 297  set_frame_mark(gboolean set, frame_data *frame, gint row)
 298  {
 299    GdkColor fg, bg;
 300   
 301    if (row == -1)
 302      return;
 303    if (set) {
 304      cf_mark_frame(&cfile, frame);
 305      color_t_to_gdkcolor(&fg, &prefs.gui_marked_fg);
 306      color_t_to_gdkcolor(&bg, &prefs.gui_marked_bg);
 307      gtk_clist_set_foreground(GTK_CLIST(packet_list), row, &fg);
 308      gtk_clist_set_background(GTK_CLIST(packet_list), row, &bg);
 309    } else {
 310      color_filter_t *cfilter = frame->color_filter;
 311   
 312      cf_unmark_frame(&cfile, frame);
 313      /* Restore the color from the matching color filter if any */
 314      if (cfilter) { /* The packet matches a color filter */
 315        color_t_to_gdkcolor(&fg, &cfilter->fg_color);
 316        color_t_to_gdkcolor(&bg, &cfilter->bg_color);
 317        gtk_clist_set_foreground(GTK_CLIST(packet_list), row, &fg);
 318        gtk_clist_set_background(GTK_CLIST(packet_list), row, &bg);
 319      } else { /* No color filter match */
 320        gtk_clist_set_foreground(GTK_CLIST(packet_list), row, NULL);
 321        gtk_clist_set_background(GTK_CLIST(packet_list), row, NULL);
 322      }
 323    }
 324  }
Show more  




Change Warning 4185.29643 : Unreachable Call

Priority:
State:
Finding:
Owner:
Note: