Skip to content

clang 12 warning fixes

Philippe Normand requested to merge philn/pipewire:clang-12-warnings into master

There's still this one, I wasn't sure how to address it:

../../../gstreamer/subprojects/pipewire/spa/plugins/audioconvert/fmt-ops-avx2.c:70:24: warning: variable 'out' is uninitialized when used here [-Wuninitialized]
                out = _mm_cvtsi32_ss(out, s[0]);
                                     ^~~
../../../gstreamer/subprojects/pipewire/spa/plugins/audioconvert/fmt-ops-avx2.c:69:3: note: variable 'out' is declared here
                __m128 out, factor = _mm_set1_ps(1.0f / S16_SCALE);
                ^
../../../gstreamer/subprojects/pipewire/spa/plugins/audioconvert/fmt-ops-avx2.c:521:24: warning: variable 'out' is uninitialized when used here [-Wuninitialized]
                out = _mm_cvtsi32_ss(out, s[0]>>8);
                                     ^~~
../../../gstreamer/subprojects/pipewire/spa/plugins/audioconvert/fmt-ops-avx2.c:520:3: note: variable 'out' is declared here
                __m128 out, factor = _mm_set1_ps(1.0f / S24_SCALE);
                ^
2 warnings generated.

Merge request reports