summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/divelogexportdialog.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 20:28:56 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 21:50:36 -0800
commitac7540b16462b10c3d63c9b1a4bd38f3ca5164c7 (patch)
treee1ec8468f114798278a5f505dd1b14c3a233bd6f /desktop-widgets/divelogexportdialog.cpp
parent60ee897b297d6704be00f14ff295112476891b60 (diff)
downloadsubsurface-ac7540b16462b10c3d63c9b1a4bd38f3ca5164c7.tar.gz
Silence warnings in divelogexportdialog.cpp
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/divelogexportdialog.cpp')
-rw-r--r--desktop-widgets/divelogexportdialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop-widgets/divelogexportdialog.cpp b/desktop-widgets/divelogexportdialog.cpp
index bd6951397..e7c53274c 100644
--- a/desktop-widgets/divelogexportdialog.cpp
+++ b/desktop-widgets/divelogexportdialog.cpp
@@ -107,6 +107,7 @@ void DiveLogExportDialog::exportHtmlInit(const QString &filename)
void DiveLogExportDialog::on_exportGroup_buttonClicked(QAbstractButton *button)
{
+ Q_UNUSED(button)
showExplanation();
}
@@ -194,7 +195,7 @@ void DiveLogExportDialog::export_depths(const char *filename, const bool selecte
int i;
const char *unit = NULL;
- struct membuffer buf = { 0 };
+ struct membuffer buf = {};
for_each_dive (i, dive) {
if (selected_only && !dive->selected)