Fix uninitialized variable

This commit is contained in:
Jonas Kvinge 2018-12-15 02:16:47 +01:00
parent 4148a310a2
commit ce4e1b1ae4
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ void LastFmCoverProvider::QueryFinished(QNetworkReply *reply, int id) {
}
QJsonArray json_array_image = json_image.toArray();
QUrl url;
LastFmImageSize size;
LastFmImageSize size(LastFmImageSize::Unknown);
for (QJsonValue json_value_image : json_array_image) {
if (!json_value_image.isObject()) {
Error("Invalid Json reply, album image value is not an object.", json_value_image);