Wizard: fix compilation warnings about unused variables
authorOlivier Goffart <ogoffart@woboq.com>
Mon, 14 Oct 2019 11:22:46 +0000 (13:22 +0200)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:59:01 +0000 (10:59 +0100)
src/gui/owncloudsetupwizard.cpp

index 4e66fad782cc260f2aedf774c8ea67b6637e5e15..ba7fecd2916ed15221663b48ef218ec601dcd0c3 100644 (file)
@@ -287,7 +287,6 @@ void OwncloudSetupWizard::slotFoundServer(const QUrl &url, const QJsonObject &in
 void OwncloudSetupWizard::slotNoServerFound(QNetworkReply *reply)
 {
     auto job = qobject_cast<CheckServerJob *>(sender());
-    QString contentType = reply->header(QNetworkRequest::ContentTypeHeader).toString();
 
     // Do this early because reply might be deleted in message box event loop
     QString msg;