aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/expert_comp_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/expert_comp_dlg.c
parentd9cca759e53f9f6428d1b3427d31d06e7f82c9e2 (diff)
Remove unneeded initializations, and one redundant if condition.
svn path=/trunk/; revision=46702
Diffstat (limited to 'ui/gtk/expert_comp_dlg.c')
-rw-r--r--ui/gtk/expert_comp_dlg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/expert_comp_dlg.c b/ui/gtk/expert_comp_dlg.c
index 712b35616d..3bd28db3b8 100644
--- a/ui/gtk/expert_comp_dlg.c
+++ b/ui/gtk/expert_comp_dlg.c
@@ -300,7 +300,7 @@ error_packet(void *pss, packet_info *pinfo _U_, epan_dissect_t *edt _U_, const v
static void
expert_comp_draw(void *data)
{
- gchar *buf = NULL;
+ gchar *buf;
expert_comp_dlg_t *ss=(expert_comp_dlg_t *)data;