Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #2702 from Rawk/remove_unset_but_used

Remove unset but used variable
  • Loading branch information...
commit 20a5367660acd8ea254a7b0169f21fae21ff87c8 2 parents 9515007 + 8bff2b5
Memphiz Memphiz authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 xbmc/music/dialogs/GUIDialogSongInfo.cpp
4 xbmc/music/dialogs/GUIDialogSongInfo.cpp
View
@@ -260,8 +260,8 @@ void CGUIDialogSongInfo::OnGetThumb()
// Grab the thumbnail from the web
- CStdString thumbFromWeb;
/*
+ CStdString thumbFromWeb;
URIUtils::AddFileToFolder(g_advancedSettings.m_cachePath, "allmusicThumb.jpg", thumbFromWeb);
if (DownloadThumbnail(thumbFromWeb))
{
@@ -322,7 +322,7 @@ void CGUIDialogSongInfo::OnGetThumb()
if (result == "thumb://None")
newThumb = "-";
else if (result == "thumb://allmusic.com")
- newThumb = thumbFromWeb;
+ newThumb.clear();
else if (result == "thumb://Local")
newThumb = localThumb;
else
Please sign in to comment.
Something went wrong with that request. Please try again.