diff --git a/cwFlowCross.cpp b/cwFlowCross.cpp index 7332ac5..da8db33 100644 --- a/cwFlowCross.cpp +++ b/cwFlowCross.cpp @@ -151,7 +151,7 @@ namespace cw double dd = (double)frameN / net->fadeSmpN; // change in gain over frameN samples double bf = net->fadeGain; // starting gain - double ef; + double ef = 0; switch( net->stateId ) { diff --git a/cwFlowTypes.cpp b/cwFlowTypes.cpp index 02eef5b..202599f 100644 --- a/cwFlowTypes.cpp +++ b/cwFlowTypes.cpp @@ -177,7 +177,7 @@ namespace cw else { printf("fbuf: chN:%i srate:%8.1f ", v->u.fbuf->chN, v->u.fbuf->srate ); - for(unsigned i; iu.fbuf->chN; ++i) + for(unsigned i=0; iu.fbuf->chN; ++i) printf("(binN:%i hopSmpN:%i) ", v->u.fbuf->binN_V[i], v->u.fbuf->hopSmpN_V[i] ); } break; diff --git a/cwSvg.cpp b/cwSvg.cpp index fe8fab7..21f6ea4 100644 --- a/cwSvg.cpp +++ b/cwSvg.cpp @@ -425,7 +425,7 @@ namespace cw { rc_t rc; file::handle_t fH; - char* s; + char* s = nullptr; if( p->cssL == nullptr ) return kOkRC;