aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/wlan_stat_dlg.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2012-04-04 16:42:48 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2012-04-04 16:42:48 +0000
commit6610b449b016d42d544e72cb7335a0e4f91adab2 (patch)
tree537c47c3b7c8ce0a7ca3a5fcd2461ea984da4ec6 /ui/gtk/wlan_stat_dlg.c
parentf934bcd42cec5addb81250d707d819f0cd993ac9 (diff)
Fix CID 617: te can't be NULL here (unless si is NULL in which case we've
got bigger problems) so there's no need to check for it being NULL. svn path=/trunk/; revision=41931
Diffstat (limited to 'ui/gtk/wlan_stat_dlg.c')
-rw-r--r--ui/gtk/wlan_stat_dlg.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/gtk/wlan_stat_dlg.c b/ui/gtk/wlan_stat_dlg.c
index 763951fb30..f328e6dd45 100644
--- a/ui/gtk/wlan_stat_dlg.c
+++ b/ui/gtk/wlan_stat_dlg.c
@@ -459,9 +459,6 @@ wlanstat_packet (void *phs, packet_info *pinfo, epan_dissect_t *edt _U_, const v
}
}
- if(!te)
- return (0);
-
if (te->stats.channel == 0 && si->stats.channel != 0) {
te->stats.channel = si->stats.channel;
}