cosmetic: removed unused code block
authorvdrfan <vdrfan@xbmc.org>
Sat, 1 Jun 2013 11:13:21 +0000 (13:13 +0200)
committervdrfan <vdrfan@xbmc.org>
Sat, 1 Jun 2013 11:13:47 +0000 (13:13 +0200)
xbmc/settings/Setting.cpp

index c21abe8..9bfeb0d 100644 (file)
@@ -982,10 +982,6 @@ DynamicStringSettingOptions CSettingString::UpdateDynamicOptions()
   std::string bestMatchingValue = m_value;
   filler(this, options, bestMatchingValue);
 
-  bool updated = false;
-  if (bestMatchingValue != m_value)
-    updated = SetValue(bestMatchingValue);
-
   // check if the list of items has changed
   bool changed = m_dynamicOptions.size() != options.size();
   if (!changed)