mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-10-08 00:00:42 -04:00
demoddatv/leansdr/dvb: Initialize viterbi sync array
Value-initialize the sync array to avoid uninitialized members. Found by cppcheck. Signed-off-by: Robin Getz <[email protected]>
This commit is contained in:
@@ -1665,7 +1665,7 @@ struct viterbi_sync : runnable
|
||||
// that certain rot/conj combinations are equivalent to
|
||||
// polarity inversion. We could reduce nsyncs.
|
||||
|
||||
syncs = new sync[nsyncs];
|
||||
syncs = new sync[nsyncs]{};
|
||||
|
||||
for (int s = 0; s < nsyncs; ++s)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user