(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/filter_dlg.c) |
| |
| 106 | | | capture_filter_construct_cb(GtkWidget *w, gpointer user_data _U_) |
| 107 | | | { |
| 108 | | | GtkWidget *filter_browse_w; |
| 109 | | | GtkWidget *parent_filter_te; |
| 110 | | | |
| 111 | | | |
| 112 | | | static construct_args_t args = { |
| 113 | | | "Wireshark: Capture Filter", |
| 114 | | | FALSE, |
| 115 | | | FALSE, |
| 116 | | | FALSE |
| 117 | | | }; |
| 118 | | | |
| 119 | | | |
| 120 | | | filter_browse_w = g_object_get_data(G_OBJECT(w), E_FILT_DIALOG_PTR_KEY);
x /usr/include/glib-2.0/gobject/gobject.h |
| |
52 | #define G_OBJECT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), G_TYPE_OBJECT, GObject)) |
| |
x /usr/include/glib-2.0/gobject/gtype.h |
| |
482 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) |
| |
x /usr/include/glib-2.0/gobject/gtype.h |
| |
1678 | # define _G_TYPE_CIC(ip, gt, ct) \ |
1679 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) |
| |
x /usr/include/glib-2.0/gobject/gtype.h |
| |
181 | #define G_TYPE_OBJECT G_TYPE_MAKE_FUNDAMENTAL (20) |
| |
x /usr/include/glib-2.0/gobject/gtype.h |
| |
222 | #define G_TYPE_MAKE_FUNDAMENTAL(x) ((GType) ((x) << G_TYPE_FUNDAMENTAL_SHIFT)) |
| |
|
| 121 | | | |
| 122 | | | if (filter_browse_w != NULL) { |
| 123 | | | |
| 124 | | | reactivate_window(filter_browse_w); |
| 125 | | | return; |
| 126 | | | } |
| 127 | | | |
| 128 | | | |
| 129 | | | parent_filter_te = g_object_get_data(G_OBJECT(w), E_FILT_TE_PTR_KEY);
x /usr/include/glib-2.0/gobject/gobject.h |
| |
52 | #define G_OBJECT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), G_TYPE_OBJECT, GObject)) |
| |
x /usr/include/glib-2.0/gobject/gtype.h |
| |
482 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) |
| |
x /usr/include/glib-2.0/gobject/gtype.h |
| |
1678 | # define _G_TYPE_CIC(ip, gt, ct) \ |
1679 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) |
| |
x /usr/include/glib-2.0/gobject/gtype.h |
| |
181 | #define G_TYPE_OBJECT G_TYPE_MAKE_FUNDAMENTAL (20) |
| |
x /usr/include/glib-2.0/gobject/gtype.h |
| |
222 | #define G_TYPE_MAKE_FUNDAMENTAL(x) ((GType) ((x) << G_TYPE_FUNDAMENTAL_SHIFT)) |
| |
|
| 130 | | | |
| 131 | | | |
| 132 | | | filter_browse_w = filter_dialog_new(w, parent_filter_te, |
Unused Value
The value assigned to filter_browse_w is never subsequently used on any execution path. |
|
| 133 | | | CFILTER_LIST, &args); |
| 134 | | | } |
| |