From ca06ba399a951cf56862346ea6cb39f83040fcc6 Mon Sep 17 00:00:00 2001 From: kevin Date: Sat, 20 Apr 2013 10:31:37 -0700 Subject: [PATCH] cmDspPreset.c:Fixed uninitialized variable 'pp' in _cmDspPresetCount(). --- dsp/cmDspPreset.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dsp/cmDspPreset.c b/dsp/cmDspPreset.c index d2e7fe0..d92e08b 100644 --- a/dsp/cmDspPreset.c +++ b/dsp/cmDspPreset.c @@ -744,6 +744,7 @@ unsigned _cmDspPresetPresetCount( cmDspPresetMgr_t* p, unsigned groupIdx if((gp = _cmDspPresetGroupFromIndex(p,groupIdx)) == NULL ) return 0; + pp = gp->list; for(; pp!=NULL; pp=pp->link) ++cnt;