cmDspPreset.c:Fixed uninitialized variable 'pp' in _cmDspPresetCount().
This commit is contained in:
parent
b6e7cd4214
commit
ca06ba399a
@ -744,6 +744,7 @@ unsigned _cmDspPresetPresetCount( cmDspPresetMgr_t* p, unsigned groupIdx
|
|||||||
if((gp = _cmDspPresetGroupFromIndex(p,groupIdx)) == NULL )
|
if((gp = _cmDspPresetGroupFromIndex(p,groupIdx)) == NULL )
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
pp = gp->list;
|
||||||
for(; pp!=NULL; pp=pp->link)
|
for(; pp!=NULL; pp=pp->link)
|
||||||
++cnt;
|
++cnt;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user