1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-08-07 11:26:09 -04:00
Files
sdrangel/plugins/channelrx
Robin Getz fe22e92c29 leansdr: Properly initialize QPSK hist buffer
Replace raw memset() initialization of hist with C++ value initialization.
This avoids bypassing std::complex object initialization and ensures the
history buffer contains valid constructed objects when HIST_FLOAT is enabled.

The previous memset() relied on the in-memory representation of
std::complex<float> and could leave non-trivial objects improperly
initialized. While this typically behaved as expected with common
implementations, it was not valid C++ object initialization.

pointed out by cppcheck as:
    Using 'memset' on struct that contains a 'std::complex'

Signed-off-by: Robin Getz <rgetz503@gmail.com>
2026-08-01 17:26:51 -04:00
..
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-07-31 01:36:56 +01:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2025-07-31 16:35:44 +01:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00