diff options
author | Martin Braun <martin.braun@ettus.com> | 2021-01-08 12:24:19 +0100 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-03-04 08:18:41 -0600 |
commit | a6a6f25404eac9cf9e01585d81fb67e9693d8769 (patch) | |
tree | f0b584a7834492baca970b75204698b97482be80 /host/lib/convert | |
parent | 79c9b6f114bbadbdf3b2bfd257a417baa16cabbb (diff) | |
download | uhd-a6a6f25404eac9cf9e01585d81fb67e9693d8769.tar.gz uhd-a6a6f25404eac9cf9e01585d81fb67e9693d8769.tar.bz2 uhd-a6a6f25404eac9cf9e01585d81fb67e9693d8769.zip |
convert: Remove unused variables
This reduces compiler warnings when using clang.
Diffstat (limited to 'host/lib/convert')
-rw-r--r-- | host/lib/convert/sse2_sc8_to_fc32.cpp | 2 | ||||
-rw-r--r-- | host/lib/convert/sse2_sc8_to_fc64.cpp | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/host/lib/convert/sse2_sc8_to_fc32.cpp b/host/lib/convert/sse2_sc8_to_fc32.cpp index aefda2b13..af326a8fa 100644 --- a/host/lib/convert/sse2_sc8_to_fc32.cpp +++ b/host/lib/convert/sse2_sc8_to_fc32.cpp @@ -44,7 +44,6 @@ DECLARE_CONVERTER(sc8_item32_be, 1, fc32, 1, PRIORITY_SIMD) const int shuf = _MM_SHUFFLE(3, 2, 1, 0); size_t i = 0, j = 0; - fc32_t dummy; size_t num_samps = nsamps; if ((size_t(inputs[0]) & 0x3) != 0) { @@ -88,7 +87,6 @@ DECLARE_CONVERTER(sc8_item32_le, 1, fc32, 1, PRIORITY_SIMD) const int shuf = _MM_SHUFFLE(0, 1, 2, 3); size_t i = 0, j = 0; - fc32_t dummy; size_t num_samps = nsamps; if ((size_t(inputs[0]) & 0x3) != 0) { diff --git a/host/lib/convert/sse2_sc8_to_fc64.cpp b/host/lib/convert/sse2_sc8_to_fc64.cpp index 3cc2fefd0..b40f91ec1 100644 --- a/host/lib/convert/sse2_sc8_to_fc64.cpp +++ b/host/lib/convert/sse2_sc8_to_fc64.cpp @@ -56,7 +56,6 @@ DECLARE_CONVERTER(sc8_item32_be, 1, fc64, 1, PRIORITY_SIMD) const __m128d scalar = _mm_set1_pd(scale_factor / (1 << 24)); size_t i = 0, j = 0; - fc32_t dummy; size_t num_samps = nsamps; if ((size_t(inputs[0]) & 0x3) != 0) { @@ -103,7 +102,6 @@ DECLARE_CONVERTER(sc8_item32_le, 1, fc64, 1, PRIORITY_SIMD) const __m128d scalar = _mm_set1_pd(scale_factor / (1 << 24)); size_t i = 0, j = 0; - fc32_t dummy; size_t num_samps = nsamps; if ((size_t(inputs[0]) & 0x3) != 0) { |