commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 08/23: gr-dtv: Fix Coverity issue #1327535.


From: git
Subject: [Commit-gnuradio] [gnuradio] 08/23: gr-dtv: Fix Coverity issue #1327535.
Date: Sat, 28 Nov 2015 21:18:07 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch master
in repository gnuradio.

commit 6f37967ebc74eaeb523da154ed6fd3540ddb16e8
Author: Ron Economos <address@hidden>
Date:   Sun Nov 15 18:15:15 2015 -0800

    gr-dtv: Fix Coverity issue #1327535.
---
 gr-dtv/lib/dvbt/dvbt_demod_reference_signals_impl.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gr-dtv/lib/dvbt/dvbt_demod_reference_signals_impl.cc 
b/gr-dtv/lib/dvbt/dvbt_demod_reference_signals_impl.cc
index e9ee864..de82d87 100644
--- a/gr-dtv/lib/dvbt/dvbt_demod_reference_signals_impl.cc
+++ b/gr-dtv/lib/dvbt/dvbt_demod_reference_signals_impl.cc
@@ -102,7 +102,8 @@ namespace gr {
       const gr_complex *in = (const gr_complex *) input_items[0];
       gr_complex *out = (gr_complex *) output_items[0];
 
-      int symbol_index, frame_index;
+      int symbol_index = 0;
+      int frame_index = 0;
       int to_out = 0;
 
       for (int i = 0; i < noutput_items; i++) {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]