From ac7540b16462b10c3d63c9b1a4bd38f3ca5164c7 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 9 Mar 2016 20:28:56 -0800 Subject: Silence warnings in divelogexportdialog.cpp Signed-off-by: Dirk Hohndel --- desktop-widgets/divelogexportdialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3-70-g09d2