From 6302856d89e8b5091fd481970cf72a80a36d3e84 Mon Sep 17 00:00:00 2001 From: Michael West Date: Wed, 23 Oct 2013 15:35:22 -0700 Subject: CID 1104340: Fixed missing break in switch CID 1104339: Fixed missing break in switch --- host/lib/convert/sse2_fc32_to_sc16.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'host') 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(input, output, 1, scale_factor); i++; + xx_to_item32_sc16(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(input, output, 1, scale_factor); i++; + xx_to_item32_sc16(input, output, 1, scale_factor); + i++; + break; case 0x0: convert_fc32_1_to_item32_1_bswap_guts(_) break; -- cgit v1.2.3