aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/convert/sse2_fc32_to_sc16.cpp
diff options
context:
space:
mode:
authorMichael West <michael.west@ettus.com>2013-10-23 15:35:22 -0700
committerMichael West <michael.west@ettus.com>2013-10-23 15:35:22 -0700
commit6302856d89e8b5091fd481970cf72a80a36d3e84 (patch)
tree57db513d611737011f178c9bd2d800f74034ef7c /host/lib/convert/sse2_fc32_to_sc16.cpp
parent7f752a176a98bb9ffbcdba2eaf39b6146da54113 (diff)
downloaduhd-6302856d89e8b5091fd481970cf72a80a36d3e84.tar.gz
uhd-6302856d89e8b5091fd481970cf72a80a36d3e84.tar.bz2
uhd-6302856d89e8b5091fd481970cf72a80a36d3e84.zip
CID 1104340: Fixed missing break in switch
CID 1104339: Fixed missing break in switch
Diffstat (limited to 'host/lib/convert/sse2_fc32_to_sc16.cpp')
-rw-r--r--host/lib/convert/sse2_fc32_to_sc16.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/host/lib/convert/sse2_fc32_to_sc16.cpp b/host/lib/convert/sse2_fc32_to_sc16.cpp
index 90bf0ed04..f5a2b7610 100644
--- a/host/lib/convert/sse2_fc32_to_sc16.cpp
+++ b/host/lib/convert/sse2_fc32_to_sc16.cpp
@@ -51,7 +51,9 @@ DECLARE_CONVERTER(fc32, 1, sc16_item32_le, 1, PRIORITY_SIMD){
//dispatch according to alignment
switch (size_t(input) & 0xf){
case 0x8:
- xx_to_item32_sc16<uhd::htowx>(input, output, 1, scale_factor); i++;
+ xx_to_item32_sc16<uhd::htowx>(input, output, 1, scale_factor);
+ i++;
+ break;
case 0x0:
convert_fc32_1_to_item32_1_nswap_guts(_)
break;
@@ -91,7 +93,9 @@ DECLARE_CONVERTER(fc32, 1, sc16_item32_be, 1, PRIORITY_SIMD){
//dispatch according to alignment
switch (size_t(input) & 0xf){
case 0x8:
- xx_to_item32_sc16<uhd::htonx>(input, output, 1, scale_factor); i++;
+ xx_to_item32_sc16<uhd::htonx>(input, output, 1, scale_factor);
+ i++;
+ break;
case 0x0:
convert_fc32_1_to_item32_1_bswap_guts(_)
break;