cmDspPreset.c:Fixed uninitialized variable 'pp' in _cmDspPresetCount().

This commit is contained in:
kevin 2013-04-20 10:31:37 -07:00
parent b6e7cd4214
commit ca06ba399a

View File

@ -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;