From 1e360fa63c752764d6eca773a804600e8ef8b80b Mon Sep 17 00:00:00 2001 From: f4exb Date: Mon, 26 Feb 2018 01:13:48 +0100 Subject: [PATCH] DATV demodulator: leansdr: missing initialization --- plugins/channelrx/demoddatv/leansdr/sdr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/channelrx/demoddatv/leansdr/sdr.h b/plugins/channelrx/demoddatv/leansdr/sdr.h index e1e4904d4..ebd4d9c23 100644 --- a/plugins/channelrx/demoddatv/leansdr/sdr.h +++ b/plugins/channelrx/demoddatv/leansdr/sdr.h @@ -964,8 +964,8 @@ struct cstln_receiver: runnable softsymbol *pout = out.wr(), *pout0 = pout; // These are scoped outside the loop for SS and MER estimation. - complex sg; // Symbol before AGC; - complex s; // For MER estimation and constellation viewer + complex sg(0.0, 0.0); // Symbol before AGC; + complex s(0.0, 0.0); // For MER estimation and constellation viewer complex *cstln_point = NULL; while (pin < pend)