summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets')
-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)