From 6610b449b016d42d544e72cb7335a0e4f91adab2 Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Wed, 4 Apr 2012 16:42:48 +0000 Subject: [PATCH] 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 --- ui/gtk/wlan_stat_dlg.c | 3 --- 1 file changed, 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; }