From 97573d8c97b0effc446e4bee8a2cd107655f6c40 Mon Sep 17 00:00:00 2001 From: spiff Date: Fri, 7 Jan 2011 15:36:55 +0100 Subject: fixed: compiler warning. "iType may be used uninitialized" --- xbmc/GUIDialogAddonSettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3