Wizard: fix compilation warnings about unused variables

This commit is contained in:
Olivier Goffart 2019-10-14 13:22:46 +02:00 committed by Markus Goetz
parent dd56b9f07c
commit d834c8db13

View File

@ -274,8 +274,6 @@ void OwncloudSetupWizard::slotFoundServer(const QUrl &url, const QJsonObject &in
void OwncloudSetupWizard::slotNoServerFound(QNetworkReply *reply)
{
auto job = qobject_cast<CheckServerJob *>(sender());
int resultCode = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();
QString contentType = reply->header(QNetworkRequest::ContentTypeHeader).toString();
// Do this early because reply might be deleted in message box event loop
QString msg;