[vlc-commits] skins2: fix uninitialized variable
Erwan Tulou
git at videolan.org
Tue Sep 8 14:56:02 CEST 2015
vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Sat Jul 18 23:01:35 2015 +0200| [b973146c7178f962709e8c5b6b7a70532871c8e9] | committer: Erwan Tulou
skins2: fix uninitialized variable
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b973146c7178f962709e8c5b6b7a70532871c8e9
---
modules/gui/skins2/vars/equalizer.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/skins2/vars/equalizer.cpp b/modules/gui/skins2/vars/equalizer.cpp
index 8b0548e..a61b1fc 100644
--- a/modules/gui/skins2/vars/equalizer.cpp
+++ b/modules/gui/skins2/vars/equalizer.cpp
@@ -60,7 +60,7 @@ EqualizerBands::~EqualizerBands()
void EqualizerBands::set( std::string bands )
{
- float val;
+ float val = 0.0f;
std::stringstream ss( bands );
m_isUpdating = true;
More information about the vlc-commits
mailing list