summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/subsurfacewebservices.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 20:22:44 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 21:50:27 -0800
commitb4bb1321bf42798754f841d819b8ceec7b04525e (patch)
tree36e0672d435b4f32b1ae41789691f32e8d02030e /desktop-widgets/subsurfacewebservices.cpp
parentb973d988dc4d34daea94d7a0a14b31f8d68ee6e8 (diff)
downloadsubsurface-b4bb1321bf42798754f841d819b8ceec7b04525e.tar.gz
Silence warnings in subsurfacewebservices.cpp
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/subsurfacewebservices.cpp')
-rw-r--r--desktop-widgets/subsurfacewebservices.cpp3
1 files changed, 2 insertions, 1 deletions
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)