aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-12-27 17:52:50 +0000
committerGerald Combs <gerald@wireshark.org>2012-12-27 17:52:50 +0000
commit77caa2d86c26995c46d84c0a620a781b65519239 (patch)
treeffa9b080cfcfc4979a39a9065de0dcbe649c040c
parente6baf22f8c27e1928ce072a641a6bd0e04d9527d (diff)
Remove an unused variable.
svn path=/trunk/; revision=46811
-rw-r--r--ui/gtk/profile_dlg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/gtk/profile_dlg.c b/ui/gtk/profile_dlg.c
index 79ca619596..25c061b45b 100644
--- a/ui/gtk/profile_dlg.c
+++ b/ui/gtk/profile_dlg.c
@@ -949,7 +949,7 @@ profile_name_edit_dlg (gint operation)
gchar *window_title=NULL;
GList *fl_entry;
profile_def *profile;
- const gchar *profile_name, *profiles_dir;
+ const gchar *profile_name;
gboolean has_global = has_global_profiles();
profile_name = get_profile_name();
@@ -1006,7 +1006,6 @@ profile_name_edit_dlg (gint operation)
gtk_tree_store_append(store, &iter, has_global ? &parent : NULL);
gtk_tree_store_set(store, &iter, 0, DEFAULT_PROFILE, 1, FALSE, 2, TRUE, -1);
- profiles_dir = get_profiles_dir();
init_profile_list();
fl_entry = current_profile_list();