aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/capture_if_dlg.c
diff options
context:
space:
mode:
authorAndersBroman <anders.broman@ericsson.com>2015-07-02 12:19:02 +0200
committerAnders Broman <a.broman58@gmail.com>2015-07-02 15:28:03 +0000
commit9421af309bcb02a89c7a7d14dcc095afa7c56604 (patch)
tree0f9ebcaf13731de2bd2c22ebe38ca1fec3e29d1b /ui/gtk/capture_if_dlg.c
parent523ce152e82357f67b3cf72b061f92d8dbcc2396 (diff)
Try to fix: warning C6244: Local declaration of 'airpcap_if_list' hides
previous declaration. Change-Id: Id0c3b74ac52c427d9c1efdf749dc410bc5bb450f Reviewed-on: https://code.wireshark.org/review/9460 Petri-Dish: Anders Broman <a.broman58@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/gtk/capture_if_dlg.c')
-rw-r--r--ui/gtk/capture_if_dlg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gtk/capture_if_dlg.c b/ui/gtk/capture_if_dlg.c
index 56ee984131..c4d40e5936 100644
--- a/ui/gtk/capture_if_dlg.c
+++ b/ui/gtk/capture_if_dlg.c
@@ -222,7 +222,7 @@ capture_do_cb(GtkWidget *capture_bt_arg _U_, gpointer if_data _U_)
if_array = g_array_remove_index(if_array, ifs);
g_array_insert_val(if_array, ifs, data);
#ifdef HAVE_AIRPCAP
- airpcap_if_active = get_airpcap_if_from_name(airpcap_if_list, gtk_label_get_text(GTK_LABEL(data.device_lb)));
+ airpcap_if_active = get_airpcap_if_from_name(g_airpcap_if_list, gtk_label_get_text(GTK_LABEL(data.device_lb)));
airpcap_if_selected = airpcap_if_active;
#endif
}
@@ -876,7 +876,7 @@ capture_if_cb(GtkWidget *w _U_, gpointer d _U_)
/* If no airpcap interface is present, gray everything */
if (airpcap_if_active == NULL) {
- if (airpcap_if_list == NULL) {
+ if (g_airpcap_if_list == NULL) {
/*No airpcap device found */
airpcap_enable_toolbar_widgets(wireless_tb,FALSE);
} else {