diff options
author | Guy Harris <gharris@sonic.net> | 2021-03-14 06:51:36 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2021-03-14 06:51:36 -0700 |
commit | 01151ec332f6232cd7b86d1b9026e54decb88203 (patch) | |
tree | 302dd732190b8740bc4c6c057e1440f62b89cb2c /ui/qt/voip_calls_dialog.ui | |
parent | 006f0ab571b8848ead23068ff91f52fe6a3680cc (diff) |
Clean up "Export PDUs to File" code.
Combine exp_pdu_file_open() is called only by do_export_pdu(); just
combine them into one routine.
Get rid of the exp_pdu_t * argument to do_export_pdu(); instead, have
the exp_pdu_t structure be a local variable in that routine. There's no
need to initialize exp_pdu_data.pkt_encap in
ExportPDUDialog::on_buttonBox_accepted() - do_export_pdu() already does
so.
The return value of do_export_pdu() isn't used; don't return anything.
Diffstat (limited to 'ui/qt/voip_calls_dialog.ui')
0 files changed, 0 insertions, 0 deletions