diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-04-04 21:27:38 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-04-04 21:27:38 +0900 |
commit | 1c5696e8f5a9ef87a065e2496eecf178e41e75a7 (patch) | |
tree | 8b41686c2e599054666868479589ef0df3a375a2 /lib/jobs/basejob.cpp | |
parent | 7508887564935f70b086ed6fe79bd86757d1fc38 (diff) | |
download | libquotient-1c5696e8f5a9ef87a065e2496eecf178e41e75a7.tar.gz libquotient-1c5696e8f5a9ef87a065e2496eecf178e41e75a7.zip |
Clean up on clang-tidy/clazy analysis
Diffstat (limited to 'lib/jobs/basejob.cpp')
-rw-r--r-- | lib/jobs/basejob.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jobs/basejob.cpp b/lib/jobs/basejob.cpp index f738ce7a..f521cc4b 100644 --- a/lib/jobs/basejob.cpp +++ b/lib/jobs/basejob.cpp @@ -430,7 +430,7 @@ BaseJob::Status BaseJob::doCheckReply(QNetworkReply* reply) const BaseJob::Status BaseJob::parseReply(QNetworkReply* reply) { d->rawResponse = reply->readAll(); - QJsonParseError error; + QJsonParseError error { 0, QJsonParseError::MissingObject }; const auto& json = QJsonDocument::fromJson(d->rawResponse, &error); if( error.error == QJsonParseError::NoError ) return parseJson(json); |