Closed dcb314 closed 7 years ago
Near the end of the zeroBuffers function, there are four pointless calls to memset to init buffers HLbuf, HRbuf, DLbuf, DRbuf.
memset(w->HLbuf, 0, WHIRL_BUF_SIZE_SAMPLES); memset(w->HRbuf, 0, WHIRL_BUF_SIZE_SAMPLES); memset(w->DLbuf, 0, WHIRL_BUF_SIZE_SAMPLES); memset(w->DRbuf, 0, WHIRL_BUF_SIZE_SAMPLES);
Suggest remove.
Near the end of the zeroBuffers function, there are four pointless calls to memset to init buffers HLbuf, HRbuf, DLbuf, DRbuf.
memset(w->HLbuf, 0, WHIRL_BUF_SIZE_SAMPLES); memset(w->HRbuf, 0, WHIRL_BUF_SIZE_SAMPLES); memset(w->DLbuf, 0, WHIRL_BUF_SIZE_SAMPLES); memset(w->DRbuf, 0, WHIRL_BUF_SIZE_SAMPLES);
Suggest remove.