aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2019-05-11 17:45:24 +0200
committerAnders Broman <a.broman58@gmail.com>2019-05-16 03:40:07 +0000
commit0aafbe7017ee7d8c35f1fcf4cc7fe406932d6d1b (patch)
treee263b34704351335a6d01c3478b0aec427ae4764 /wiretap
parentf8ac57a2c4d3b0bab160dc5da925c1bb83e39444 (diff)
wtap: remove unneeded check (CID: 1441486).
wth has been already checked in line 315. Change-Id: Ib620e0b1e9262e5344feb934b024f7817cfda6fd Reviewed-on: https://code.wireshark.org/review/33178 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/wtap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/wtap.c b/wiretap/wtap.c
index 1e04868886..4eb33454b9 100644
--- a/wiretap/wtap.c
+++ b/wiretap/wtap.c
@@ -324,7 +324,7 @@ wtap_dump_params_init(wtap_dump_params *params, wtap *wth)
/* Assume that the input handle remains open until the dumper is closed.
* Refer to the DSBs from the input file, wtap_dump will then copy DSBs
* as they become available. */
- params->dsbs_growing = wth ? wth->dsbs : NULL;
+ params->dsbs_growing = wth->dsbs;
}
void