Text   |  XML   |  ReML   |   Visible Warnings:

Unreachable Control Flow  at filter_dlg.c:946

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

filter_dlg_destroy_cb

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/filter_dlg.c)expand/collapse
Show more  
 920  filter_dlg_destroy_cb(GtkWidget *win, gpointer data)
 921  {
 922      filter_list_type_t list_type = *(filter_list_type_t *)data;
 923      GtkWidget *button;
 924   
 925      /* Get the button that requested that we be popped up, if any.
 926         (It should arrange to destroy us if it's destroyed, so 
 927         that we don't get a pointer to a non-existent window here.) */
 928      button = g_object_get_data(G_OBJECT(win), E_FILT_BUTTON_PTR_KEY);
 929   
 930      if (button != NULL) {
 931          /* Tell it we no longer exist. */
 932                  g_object_set_data(G_OBJECT(button), E_FILT_DIALOG_PTR_KEY, NULL);
 933      } else {
 934          /* This is an editing dialog popped up from, for example,
 935             a menu item; note that we no longer have one. */
 936          switch (list_type) {
 937   
 938  #ifdef HAVE_LIBPCAP 
 939          case CFILTER_EDITED_LIST:
 940              g_assert(win == global_cfilter_w);
 941              global_cfilter_w = NULL;
 942              break;
 943  #endif
 944          default:
 945              g_assert_not_reached();
 946              break;
 947          }
 948      }
 949   
 950      /* Remove this from the list of filter dialog windows. */
 951      forget_filter_dialog(win, list_type);
 952  }
Show more  




Change Warning 4072.29710 : Unreachable Control Flow

Priority:
State:
Finding:
Owner:
Note: