Skip to content
This repository
Browse code

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 authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  xbmc/music/dialogs/GUIDialogSongInfo.cpp
4  xbmc/music/dialogs/GUIDialogSongInfo.cpp
@@ -260,8 +260,8 @@ void CGUIDialogSongInfo::OnGetThumb()
260 260
 
261 261
 
262 262
   // Grab the thumbnail from the web
263  
-  CStdString thumbFromWeb;
264 263
   /*
  264
+  CStdString thumbFromWeb;
265 265
   URIUtils::AddFileToFolder(g_advancedSettings.m_cachePath, "allmusicThumb.jpg", thumbFromWeb);
266 266
   if (DownloadThumbnail(thumbFromWeb))
267 267
   {
@@ -322,7 +322,7 @@ void CGUIDialogSongInfo::OnGetThumb()
322 322
   if (result == "thumb://None")
323 323
     newThumb = "-";
324 324
   else if (result == "thumb://allmusic.com")
325  
-    newThumb = thumbFromWeb;
  325
+    newThumb.clear();
326 326
   else if (result == "thumb://Local")
327 327
     newThumb = localThumb;
328 328
   else

0 notes on commit 20a5367

Please sign in to comment.
Something went wrong with that request. Please try again.