diff options
author | spiff <spiff@xbmc.org> | 2011-01-07 15:36:55 +0100 |
---|---|---|
committer | spiff <spiff@xbmc.org> | 2011-01-07 17:25:31 +0100 |
commit | 97573d8c97b0effc446e4bee8a2cd107655f6c40 (patch) | |
tree | 6c3df96c99f7bd9c182eb87fe1f5f46810c4737b | |
parent | f55f3478843f249e5132ccd823782fd910f2714d (diff) |
fixed: compiler warning. "iType may be used uninitialized"
-rw-r--r-- | xbmc/GUIDialogAddonSettings.cpp | 2 |
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; |