From 0aa33cf5c22e3721c6809ef0db54cfbe9ebe4db7 Mon Sep 17 00:00:00 2001 From: eb Date: Sun, 31 Aug 2008 23:22:43 +0000 Subject: removed some warnings git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9475 221aa14e-8319-0410-a670-987f0aec2ac5 --- gnuradio-core/src/lib/general/gr_align_on_samplenumbers_ss.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnuradio-core/src/lib/general') diff --git a/gnuradio-core/src/lib/general/gr_align_on_samplenumbers_ss.cc b/gnuradio-core/src/lib/general/gr_align_on_samplenumbers_ss.cc index 906a72c4c..38d18b736 100644 --- a/gnuradio-core/src/lib/general/gr_align_on_samplenumbers_ss.cc +++ b/gnuradio-core/src/lib/general/gr_align_on_samplenumbers_ss.cc @@ -331,7 +331,7 @@ gr_align_on_samplenumbers_ss::general_work (int noutput_items, x_high16bits = uin[d_nchan*2]; x_low16bits = uin[d_nchan*2+1]; unsigned int ucounter_begin2 = x_high16bits<<16 | x_low16bits; - if((d_state[i].ucounter_begin+1)!=(ucounter_begin2)) + if((d_state[i].ucounter_begin+1)!=(ucounter_begin2)){ if(ucounter_begin2==0) { #ifdef DEBUG_TOCONSUME @@ -342,6 +342,7 @@ gr_align_on_samplenumbers_ss::general_work (int noutput_items, { ePrintf("Error: counter not continuous.\n ucounter_begin[%i]=%i +1 != ucounter_begin2=%i\n",i,d_state[i].ucounter_begin,ucounter_begin2); } + } //diff_comp[i]=ucounter[i]-ucounter[0]; //diff_min=std::min(diff[i],diff_min); -- cgit