Browse Source

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

master
kevin 11 years ago
parent
commit
ca06ba399a
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      dsp/cmDspPreset.c

+ 1
- 0
dsp/cmDspPreset.c View File

@@ -744,6 +744,7 @@ unsigned        _cmDspPresetPresetCount( cmDspPresetMgr_t* p, unsigned groupIdx
744 744
   if((gp = _cmDspPresetGroupFromIndex(p,groupIdx)) == NULL )
745 745
     return 0;
746 746
 
747
+  pp = gp->list;
747 748
   for(; pp!=NULL; pp=pp->link)
748 749
     ++cnt;
749 750
 

Loading…
Cancel
Save