Mercurial > hg > svcore
comparison data/fft/FFTMemoryCache.cpp @ 960:5173e56e17f7
Fix fallthrough in switch (from coverity scan)
author | Chris Cannam |
---|---|
date | Wed, 03 Sep 2014 09:56:18 +0100 |
parents | 59e7fe1b1003 |
children | cc27f35aa75c |
comparison
equal
deleted
inserted
replaced
959:9a422d610058 | 960:5173e56e17f7 |
---|---|
203 | 203 |
204 switch (type) { | 204 switch (type) { |
205 | 205 |
206 case FFTCache::Compact: | 206 case FFTCache::Compact: |
207 sz = (height * 2 + 1) * width * sizeof(uint16_t); | 207 sz = (height * 2 + 1) * width * sizeof(uint16_t); |
208 break; | |
208 | 209 |
209 case FFTCache::Polar: | 210 case FFTCache::Polar: |
210 case FFTCache::Rectangular: | 211 case FFTCache::Rectangular: |
211 sz = (height * 2 + 1) * width * sizeof(float); | 212 sz = (height * 2 + 1) * width * sizeof(float); |
213 break; | |
212 } | 214 } |
213 | 215 |
214 return sz; | 216 return sz; |
215 } | 217 } |
216 | 218 |