aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspiff <spiff@xbmc.org>2011-01-07 15:36:55 +0100
committerspiff <spiff@xbmc.org>2011-01-07 17:25:31 +0100
commit97573d8c97b0effc446e4bee8a2cd107655f6c40 (patch)
tree6c3df96c99f7bd9c182eb87fe1f5f46810c4737b
parentf55f3478843f249e5132ccd823782fd910f2714d (diff)
fixed: compiler warning. "iType may be used uninitialized"
-rw-r--r--xbmc/GUIDialogAddonSettings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/GUIDialogAddonSettings.cpp b/xbmc/GUIDialogAddonSettings.cpp
index 44ea7ee3fd..c0488e0ad0 100644
--- a/xbmc/GUIDialogAddonSettings.cpp
+++ b/xbmc/GUIDialogAddonSettings.cpp
@@ -757,7 +757,7 @@ void CGUIDialogAddonSettings::CreateControls()
}
CStdString option = setting->Attribute("option");
- int iType;
+ int iType=0;
if (option.size() == 0 || option.CompareNoCase("float") == 0)
iType = SPIN_CONTROL_TYPE_FLOAT;