From: RĂ©mi Duraffort Date: Fri, 1 Aug 2008 15:14:45 +0000 (+0200) Subject: Why are this variable unused ? (commented out for the moment as it memleak) X-Git-Tag: 0.9.0-test3~52 X-Git-Url: https://git.sesse.net/?p=vlc;a=commitdiff_plain;h=ab1e2b524cb535d8c2ef1a7914f359d679d83136 Why are this variable unused ? (commented out for the moment as it memleak) --- diff --git a/modules/gui/qt4/components/extended_panels.cpp b/modules/gui/qt4/components/extended_panels.cpp index ab08880ac5..9e1d30e394 100644 --- a/modules/gui/qt4/components/extended_panels.cpp +++ b/modules/gui/qt4/components/extended_panels.cpp @@ -853,7 +853,7 @@ Equalizer::~Equalizer() /* Write down initial values */ void Equalizer::updateUIFromCore() { - char *psz_af, *psz_bands; + char *psz_af;//, *psz_bands; Don't use it ? float f_preamp; int i_preset; @@ -864,7 +864,7 @@ void Equalizer::updateUIFromCore() psz_af = var_GetNonEmptyString( p_aout, "audio-filter" ); if( var_GetBool( p_aout, "equalizer-2pass" ) ) ui.eq2PassCheck->setChecked( true ); - psz_bands = var_GetNonEmptyString( p_aout, "equalizer-bands" ); +// psz_bands = var_GetNonEmptyString( p_aout, "equalizer-bands" ); f_preamp = var_GetFloat( p_aout, "equalizer-preamp" ); i_preset = presetsComboBox->findData( QVariant( var_GetString( p_aout, "equalizer-preset" ) ) ); @@ -875,7 +875,7 @@ void Equalizer::updateUIFromCore() psz_af = config_GetPsz( p_intf, "audio-filter" ); if( config_GetInt( p_intf, "equalizer-2pass" ) ) ui.eq2PassCheck->setChecked( true ); - psz_bands = config_GetPsz( p_intf, "equalizer-bands" ); +// psz_bands = config_GetPsz( p_intf, "equalizer-bands" ); f_preamp = config_GetFloat( p_intf, "equalizer-preamp" ); i_preset = presetsComboBox->findData( QVariant( config_GetPsz( p_intf, "equalizer-preset" ) ) );