From 47351fb617aaa1be83d2b1db60dc31344c1d01d2 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Sat, 20 Jan 2018 13:26:13 -0800 Subject: Qt: Initialize a struct (found by Coverity) CID: 1427679 Change-Id: I2ed276f0da413b4853b7dc9ccde3530e655ad760 Reviewed-on: https://code.wireshark.org/review/25403 Reviewed-by: Alexis La Goutte Petri-Dish: Alexis La Goutte Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann --- ui/qt/packet_dialog.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'ui/qt/packet_dialog.cpp') diff --git a/ui/qt/packet_dialog.cpp b/ui/qt/packet_dialog.cpp index 67a75f6c4a..681ec4d4a8 100644 --- a/ui/qt/packet_dialog.cpp +++ b/ui/qt/packet_dialog.cpp @@ -33,6 +33,7 @@ PacketDialog::PacketDialog(QWidget &parent, CaptureFile &cf, frame_data *fdata) : WiresharkDialog(parent, cf), ui(new Ui::PacketDialog), + phdr_(wtap_pkthdr()), packet_data_(NULL) { ui->setupUi(this); -- cgit v1.2.3