cwFlowCross.cpp,cwFlowTypes.cpp, cwSvg.cpp : Fix some benign uninitialized values.

This commit is contained in:
kevin 2022-12-22 15:25:54 -05:00
parent 5e90a9ff53
commit 9d704cf77a
3 changed files with 3 additions and 3 deletions

View File

@ -151,7 +151,7 @@ namespace cw
double dd = (double)frameN / net->fadeSmpN; // change in gain over frameN samples double dd = (double)frameN / net->fadeSmpN; // change in gain over frameN samples
double bf = net->fadeGain; // starting gain double bf = net->fadeGain; // starting gain
double ef; double ef = 0;
switch( net->stateId ) switch( net->stateId )
{ {

View File

@ -177,7 +177,7 @@ namespace cw
else else
{ {
printf("fbuf: chN:%i srate:%8.1f ", v->u.fbuf->chN, v->u.fbuf->srate ); printf("fbuf: chN:%i srate:%8.1f ", v->u.fbuf->chN, v->u.fbuf->srate );
for(unsigned i; i<v->u.fbuf->chN; ++i) for(unsigned i=0; i<v->u.fbuf->chN; ++i)
printf("(binN:%i hopSmpN:%i) ", v->u.fbuf->binN_V[i], v->u.fbuf->hopSmpN_V[i] ); printf("(binN:%i hopSmpN:%i) ", v->u.fbuf->binN_V[i], v->u.fbuf->hopSmpN_V[i] );
} }
break; break;

View File

@ -425,7 +425,7 @@ namespace cw
{ {
rc_t rc; rc_t rc;
file::handle_t fH; file::handle_t fH;
char* s; char* s = nullptr;
if( p->cssL == nullptr ) if( p->cssL == nullptr )
return kOkRC; return kOkRC;