mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Silence warnings in diveshareexportdialog.cpp
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7eb787ee5d
commit
234a659498
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ void DiveShareExportDialog::doUpload()
|
||||||
ui->progressBar->setRange(0, 0);
|
ui->progressBar->setRange(0, 0);
|
||||||
|
|
||||||
//generate json
|
//generate json
|
||||||
struct membuffer buf = { 0 };
|
struct membuffer buf = {};
|
||||||
export_list(&buf, NULL, exportSelected, false);
|
export_list(&buf, NULL, exportSelected, false);
|
||||||
QByteArray json_data(buf.buffer, buf.len);
|
QByteArray json_data(buf.buffer, buf.len);
|
||||||
free_buffer(&buf);
|
free_buffer(&buf);
|
||||||
|
|
Loading…
Add table
Reference in a new issue