cosmetics: get rid of unused variable
authormontellese <montellese@xbmc.org>
Wed, 28 Nov 2012 07:57:45 +0000 (08:57 +0100)
committermontellese <montellese@xbmc.org>
Wed, 28 Nov 2012 07:57:45 +0000 (08:57 +0100)
xbmc/settings/GUIWindowSettingsCategory.cpp

index c36d3bb..0090d2e 100644 (file)
@@ -2870,8 +2870,6 @@ void CGUIWindowSettingsCategory::FillInAudioDevices(CSetting* pSetting, bool Pas
     m_AnalogAudioSinkMap["Error - no devices found"] = "null:";
   }
 
-  int numberSinks = 0;
-
   int selectedValue = -1;
   AEDeviceList sinkList;
   CAEFactory::EnumerateOutputDevices(sinkList, Passthrough);
@@ -2879,7 +2877,6 @@ void CGUIWindowSettingsCategory::FillInAudioDevices(CSetting* pSetting, bool Pas
   if (sinkList.size()==0)
   {
     pControl->AddLabel("Error - no devices found", 0);
-    numberSinks = 1;
     selectedValue = 0;
   }
   else
@@ -2903,7 +2900,6 @@ void CGUIWindowSettingsCategory::FillInAudioDevices(CSetting* pSetting, bool Pas
       i++;
     }
 
-    numberSinks = sinkList.size();
 #if !defined(TARGET_DARWIN)
   }
 #endif