From b4bb1321bf42798754f841d819b8ceec7b04525e Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 9 Mar 2016 20:22:44 -0800 Subject: Silence warnings in subsurfacewebservices.cpp Signed-off-by: Dirk Hohndel --- desktop-widgets/subsurfacewebservices.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desktop-widgets/subsurfacewebservices.cpp b/desktop-widgets/subsurfacewebservices.cpp index 0dd9ad4ef..2ca3de187 100644 --- a/desktop-widgets/subsurfacewebservices.cpp +++ b/desktop-widgets/subsurfacewebservices.cpp @@ -194,7 +194,7 @@ bool DivelogsDeWebServices::prepare_dives_for_divelogs(const QString &tempfile, const char *membuf; xmlDoc *transformed; struct zip_source *s; - struct membuffer mb = { 0 }; + struct membuffer mb = {}; /* * Get the i'th dive in XML format so we can process it. @@ -961,6 +961,7 @@ void DivelogsDeWebServices::uploadFinished() void DivelogsDeWebServices::setStatusText(int status) { + Q_UNUSED(status) } void DivelogsDeWebServices::downloadError(QNetworkReply::NetworkError) -- cgit v1.2.3-70-g09d2