Qt: initialize srt_data_ in constructor (CID 1417727)
Change-Id: I4977ff102f1ffb11a5ea956537dde3230b4323f7 Reviewed-on: https://code.wireshark.org/review/23550 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
72355a0817
commit
98d5174e1a
|
@ -184,6 +184,9 @@ ServiceResponseTimeDialog::ServiceResponseTimeDialog(QWidget &parent, CaptureFil
|
|||
setWindowSubtitle(subtitle);
|
||||
loadGeometry(0, 0, "ServiceResponseTimeDialog");
|
||||
|
||||
srt_data_.srt_array = NULL;
|
||||
srt_data_.user_data = NULL;
|
||||
|
||||
// Add number of columns for this stats_tree
|
||||
QStringList header_labels;
|
||||
for (int col = 0; col < NUM_SRT_COLUMNS; col++) {
|
||||
|
|
Loading…
Reference in New Issue