Subsonic: Remove redundant null check

This commit is contained in:
Jonas Kvinge
2021-09-21 01:36:38 +02:00
parent f4f005cdd6
commit f74f2ca3ef
2 changed files with 2 additions and 2 deletions

View File

@@ -203,7 +203,7 @@ QJsonObject SubsonicBaseRequest::ExtractJsonObj(QByteArray &data) {
return QJsonObject();
}
if (json_doc.isNull() || json_doc.isEmpty()) {
if (json_doc.isEmpty()) {
Error("Received empty Json document.", data);
return QJsonObject();
}