Parcourir la source

cmDspFx.c : Fixed uninitialized variable (n in _cmDspAudioNofM_Exec().

master
kevin il y a 10 ans
Parent
révision
0a12858783
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      dsp/cmDspFx.c

+ 1
- 1
dsp/cmDspFx.c Voir le fichier

@@ -3303,7 +3303,7 @@ cmDspRC_t _cmDspAudioNofM_Exec( cmDspCtx_t* ctx, cmDspInst_t* inst, const cmDspE
3303 3303
   unsigned i;
3304 3304
   const cmSample_t* x[ p->inChCnt ];
3305 3305
   cmSample_t*       y[ p->outChCnt ];
3306
-  unsigned n;
3306
+  unsigned n = 0;
3307 3307
   
3308 3308
   for(i=0; i<p->inChCnt; ++i)
3309 3309
   {

Chargement…
Annuler
Enregistrer