aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/airpcap_dlg.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2012-04-16 07:59:48 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2012-04-16 07:59:48 +0000
commit9380f962a2d694183b9ce20830b5943d3ea7b7fb (patch)
tree722a0221205b9032ebb30a13f3976f218d69192c /ui/gtk/airpcap_dlg.c
parent53155a11c0a111179c1ee8ad3b2327b127d0ac14 (diff)
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=42090
Diffstat (limited to 'ui/gtk/airpcap_dlg.c')
-rw-r--r--ui/gtk/airpcap_dlg.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ui/gtk/airpcap_dlg.c b/ui/gtk/airpcap_dlg.c
index 736e6135b7..e463f7823a 100644
--- a/ui/gtk/airpcap_dlg.c
+++ b/ui/gtk/airpcap_dlg.c
@@ -2479,20 +2479,15 @@ on_keep_bt_clicked (GtkWidget *button _U_, gpointer user_data)
GtkListStore *key_list_store=NULL;
GList* wireshark_keys=NULL;
- guint n_wireshark_keys = 0;
GList* merged_keys=NULL;
- guint n_total_keys=0;
-
keys_check_w = GTK_WIDGET(user_data);
key_management_w = g_object_get_data(G_OBJECT(keys_check_w),AIRPCAP_CHECK_WINDOW_KEY);
/* Retrieve Wireshark keys */
wireshark_keys = get_wireshark_keys();
- n_wireshark_keys = g_list_length(wireshark_keys);
- n_total_keys += n_wireshark_keys;
merged_keys = merge_key_list(wireshark_keys,NULL);