diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-11-07 22:16:30 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-07 22:26:33 -0800 |
commit | 440423ff6476119e090798ae2d59dc59d5253a0a (patch) | |
tree | 5a8c32678056583e0cc7cd06682bc123d0584e33 /desktop-widgets/subsurfacewebservices.cpp | |
parent | bfe24526d35c47c1229a0711882d4e789fb46731 (diff) | |
parent | 829f7a2ee264b4e25e8ea926a98199f8049a23d6 (diff) | |
download | subsurface-440423ff6476119e090798ae2d59dc59d5253a0a.tar.gz |
Merge branch 'warnings' of github.com:neolit123/subsurface
Diffstat (limited to 'desktop-widgets/subsurfacewebservices.cpp')
-rw-r--r-- | desktop-widgets/subsurfacewebservices.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/subsurfacewebservices.cpp b/desktop-widgets/subsurfacewebservices.cpp index ee079cc48..d66d3653b 100644 --- a/desktop-widgets/subsurfacewebservices.cpp +++ b/desktop-widgets/subsurfacewebservices.cpp @@ -188,7 +188,6 @@ bool DivelogsDeWebServices::prepare_dives_for_divelogs(const QString &tempfile, int i; struct dive *dive; for_each_dive (i, dive) { - FILE *f; char filename[PATH_MAX]; int streamsize; const char *membuf; @@ -412,6 +411,7 @@ void SubsurfaceWebServices::buttonClicked(QAbstractButton *button) struct dive *d; struct dive_site *ds; bool changed = false; + (void)changed; clear_table(&gps_location_table); QByteArray url = tr("Webservice").toLocal8Bit(); parse_xml_buffer(url.data(), downloadedData.data(), downloadedData.length(), &gps_location_table, NULL); |