From 963b3dd91cd2204c601dc6325cc5b159e927054c Mon Sep 17 00:00:00 2001 From: Tom Rondeau Date: Fri, 6 Jan 2012 14:19:59 -0500 Subject: Remove some more warnings. I'm probably being a bit OCD about these ones, but it makes the build output so much nicer... --- gr-digital/lib/digital_constellation.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'gr-digital/lib/digital_constellation.cc') 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; } -- cgit