Silence warnings in diveshareexportdialog.cpp

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-03-09 20:14:49 -08:00
parent 7eb787ee5d
commit 234a659498

View file

@ -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);