summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/diveshareexportdialog.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 20:14:49 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 21:50:26 -0800
commit234a6594983fc091f356cf1d23950f69a08d5a1b (patch)
tree7516a2d06f20400b4ffaa5bd59bfc86d2e9850aa /desktop-widgets/diveshareexportdialog.cpp
parent7eb787ee5d42f0809d8b7780a6f5c6b5852630a0 (diff)
downloadsubsurface-234a6594983fc091f356cf1d23950f69a08d5a1b.tar.gz
Silence warnings in diveshareexportdialog.cpp
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/diveshareexportdialog.cpp')
-rw-r--r--desktop-widgets/diveshareexportdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/diveshareexportdialog.cpp b/desktop-widgets/diveshareexportdialog.cpp
index c6a7771d8..ed6e2829a 100644
--- a/desktop-widgets/diveshareexportdialog.cpp
+++ b/desktop-widgets/diveshareexportdialog.cpp
@@ -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);