diff options
author | Tom Rondeau | 2012-01-06 14:19:59 -0500 |
---|---|---|
committer | Tom Rondeau | 2012-01-06 14:19:59 -0500 |
commit | 963b3dd91cd2204c601dc6325cc5b159e927054c (patch) | |
tree | 9813c3a43f581572a533e7e2db9fc04640ce593c /gr-digital/lib | |
parent | 1561b416702a26d53f0bbd5879925534c0ff82b2 (diff) | |
download | gnuradio-963b3dd91cd2204c601dc6325cc5b159e927054c.tar.gz gnuradio-963b3dd91cd2204c601dc6325cc5b159e927054c.tar.bz2 gnuradio-963b3dd91cd2204c601dc6325cc5b159e927054c.zip |
Remove some more warnings. I'm probably being a bit OCD about these ones, but it makes the build output so much nicer...
Diffstat (limited to 'gr-digital/lib')
-rw-r--r-- | gr-digital/lib/digital_constellation.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gr-digital/lib/digital_constellation.cc b/gr-digital/lib/digital_constellation.cc index 0c100f38e..d9a53c493 100644 --- a/gr-digital/lib/digital_constellation.cc +++ b/gr-digital/lib/digital_constellation.cc @@ -357,10 +357,8 @@ digital_constellation_psk::get_sector (const gr_complex *sample) float phase = arg(*sample); float width = M_TWOPI / n_sectors; int sector = floor(phase/width + 0.5); - unsigned int u_sector; if (sector < 0) sector += n_sectors; - u_sector = sector; return sector; } |