summaryrefslogtreecommitdiff
path: root/ui/gtk/profile_dlg.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2012-12-22 21:14:13 +0000
committerEvan Huus <eapache@gmail.com>2012-12-22 21:14:13 +0000
commit52aff57285693a6f56ada90359cf71b6b894b01e (patch)
tree6f242d491c9f66bd70335482478aad9684219b8a /ui/gtk/profile_dlg.c
parentd9cca759e53f9f6428d1b3427d31d06e7f82c9e2 (diff)
downloadwireshark-52aff57285693a6f56ada90359cf71b6b894b01e.tar.gz
Remove unneeded initializations, and one redundant if condition.
svn path=/trunk/; revision=46702
Diffstat (limited to 'ui/gtk/profile_dlg.c')
-rw-r--r--ui/gtk/profile_dlg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/profile_dlg.c b/ui/gtk/profile_dlg.c
index ffe73dfd4e..58eb4dc66b 100644
--- a/ui/gtk/profile_dlg.c
+++ b/ui/gtk/profile_dlg.c
@@ -695,7 +695,7 @@ profile_name_te_changed_cb(GtkWidget *w, gpointer data _U_)
GtkWidget *profile_l = g_object_get_data(G_OBJECT(main_w), E_PROF_PROFILE_L_KEY);
profile_def *profile;
GList *fl_entry;
- const gchar *name = "";
+ const gchar *name;
GtkTreeSelection *sel;
GtkTreeModel *model;