Ver código fonte

cmDspKr.c : Fixed uninitialized variable warning (n in _cmDspRecdPlayExec()).

master
kevin 11 anos atrás
pai
commit
7d7448ba55
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      dsp/cmDspKr.c

+ 1
- 1
dsp/cmDspKr.c Ver arquivo

@@ -2608,7 +2608,7 @@ cmDspRC_t _cmDspRecdPlayExec(cmDspCtx_t* ctx, cmDspInst_t* inst, const cmDspEvt_
2608 2608
 
2609 2609
   const cmSample_t* x[ p->chCnt ];
2610 2610
   cmSample_t*       y[ p->chCnt ];
2611
-  unsigned n;
2611
+  unsigned n = 0;
2612 2612
   unsigned i;
2613 2613
   unsigned actChCnt = 0;
2614 2614
 

Carregando…
Cancelar
Salvar