Text   |  XML   |  ReML   |   Visible Warnings:

Unreachable Call  at filter_dlg.c:897

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

filter_dlg_cancel_cb

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/filter_dlg.c)expand/collapse
Show more  
 877  filter_dlg_cancel_cb(GtkWidget *cancel_bt, gpointer data)
 878  {
 879      filter_list_type_t list_type = *(filter_list_type_t *)data;
 880      GtkWidget  *main_w = gtk_widget_get_toplevel(cancel_bt);
 881      static GList *filter_list;
 882   
 883   
 884      window_destroy(GTK_WIDGET(main_w));
 885   
 886      /* if this was the last open filter dialog, revert the changes made */
 887      filter_list = get_filter_dialog_list(list_type);
 888      if(g_list_length(filter_list) == 0) {
 889          /* revert changes in the edited list */
 890          switch (list_type) {
 891          case CFILTER_EDITED_LIST:
 892                  copy_filter_list(CFILTER_EDITED_LIST, CFILTER_LIST);
 893              break;
 894          case DFILTER_EDITED_LIST:
 895                  copy_filter_list(DFILTER_EDITED_LIST, DFILTER_LIST);
 896              break;
 897          default:
 898              g_assert_not_reached();
 899              break;
 900          }
 901      }
 902   
 903  #if 0 
 904      /* update other open filter dialogs */
 905      g_list_foreach(get_filter_dialog_list(list_type), filter_dlg_update_list_cb, &list_type);
 906  #endif
 907  }
Show more  




Change Warning 4071.29821 : Unreachable Call

Priority:
State:
Finding:
Owner:
Note: