Silence warnings in diveshareexportdialog.cpp
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7eb787ee5d
commit
234a659498
@ -119,7 +119,7 @@ void DiveShareExportDialog::doUpload()
|
||||
ui->progressBar->setRange(0, 0);
|
||||
|
||||
//generate json
|
||||
struct membuffer buf = { 0 };
|
||||
struct membuffer buf = {};
|
||||
export_list(&buf, NULL, exportSelected, false);
|
||||
QByteArray json_data(buf.buffer, buf.len);
|
||||
free_buffer(&buf);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user