Mercurial > hg > qm-dsp
diff dsp/wavelet/Wavelet.cpp @ 429:7b7691b49197
Minor build fixes
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Fri, 30 Sep 2016 16:23:10 +0100 |
parents | 7e8d1f26b098 |
children | ccd2019190bf |
line wrap: on
line diff
--- a/dsp/wavelet/Wavelet.cpp Fri Sep 30 16:22:56 2016 +0100 +++ b/dsp/wavelet/Wavelet.cpp Fri Sep 30 16:23:10 2016 +0100 @@ -1843,6 +1843,9 @@ break; } + // avoid compiler warning for unused value if assert is not compiled in: + (void)flength; + assert(flength == int(lpd.size())); assert(flength == int(hpd.size())); }