Explorar el Código

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

master
kevin hace 11 años
padre
commit
ca06ba399a
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1
    0
      dsp/cmDspPreset.c

+ 1
- 0
dsp/cmDspPreset.c Ver fichero

@@ -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…
Cancelar
Guardar