changeset 960:5173e56e17f7

Fix fallthrough in switch (from coverity scan)
author Chris Cannam
date Wed, 03 Sep 2014 09:56:18 +0100
parents 9a422d610058
children fae5689f7e27
files data/fft/FFTMemoryCache.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/data/fft/FFTMemoryCache.cpp	Wed Sep 03 09:48:51 2014 +0100
+++ b/data/fft/FFTMemoryCache.cpp	Wed Sep 03 09:56:18 2014 +0100
@@ -205,10 +205,12 @@
 
     case FFTCache::Compact:
         sz = (height * 2 + 1) * width * sizeof(uint16_t);
+        break;
 
     case FFTCache::Polar:
     case FFTCache::Rectangular:
         sz = (height * 2 + 1) * width * sizeof(float);
+        break;
     }
 
     return sz;