summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/general
diff options
context:
space:
mode:
authoreb2008-08-31 23:22:43 +0000
committereb2008-08-31 23:22:43 +0000
commit0aa33cf5c22e3721c6809ef0db54cfbe9ebe4db7 (patch)
treecf1a69230a1a6dd9a52408f2472ade569e2f3bdf /gnuradio-core/src/lib/general
parentae3d670a6d7d01e513b2431bde68e15870a9bae9 (diff)
downloadgnuradio-0aa33cf5c22e3721c6809ef0db54cfbe9ebe4db7.tar.gz
gnuradio-0aa33cf5c22e3721c6809ef0db54cfbe9ebe4db7.tar.bz2
gnuradio-0aa33cf5c22e3721c6809ef0db54cfbe9ebe4db7.zip
removed some warnings
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9475 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-core/src/lib/general')
-rw-r--r--gnuradio-core/src/lib/general/gr_align_on_samplenumbers_ss.cc3
1 files changed, 2 insertions, 1 deletions
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);