Text   |  XML   |  ReML   |   Visible Warnings:

Unused Value  at filter_dlg.c:132

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

capture_filter_construct_cb

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/filter_dlg.c)expand/collapse
Show more  
 106  capture_filter_construct_cb(GtkWidget *w, gpointer user_data _U_)
 107  {
 108      GtkWidget *filter_browse_w;
 109      GtkWidget *parent_filter_te;
 110      /* No Apply button, and "OK" just sets our text widget, it doesn't
 111         activate it (i.e., it doesn't cause us to try to open the file). */
 112      static construct_args_t args = {
 113          "Wireshark: Capture Filter",
 114          FALSE,
 115          FALSE,
 116          FALSE 
 117      };
 118   
 119      /* Has a filter dialog box already been opened for that button? */
 120      filter_browse_w = g_object_get_data(G_OBJECT(w), E_FILT_DIALOG_PTR_KEY);
 121   
 122      if (filter_browse_w != NULL) {
 123          /* Yes.  Just re-activate that dialog box. */
 124          reactivate_window(filter_browse_w);
 125          return;
 126      }
 127   
 128      /* No.  Get the text entry attached to the button. */
 129      parent_filter_te = g_object_get_data(G_OBJECT(w), E_FILT_TE_PTR_KEY);
 130   
 131      /* Now create a new dialog, without an "Add Expression..." button. */
 132      filter_browse_w = filter_dialog_new(w, parent_filter_te,
 133          CFILTER_LIST, &args);
 134  }
Show more  




Change Warning 4061.30211 : Unused Value

Priority:
State:
Finding:
Owner:
Note: