Sneaking in a few warning fixes to this branch.
authorTom Rondeau <trondeau@vt.edu>
Tue, 2 Nov 2010 16:53:15 +0000 (12:53 -0400)
committerTom Rondeau <trondeau@vt.edu>
Tue, 2 Nov 2010 16:53:15 +0000 (12:53 -0400)
gnuradio-core/src/lib/filter/gr_pfb_channelizer_ccf.cc
gnuradio-core/src/lib/general/gr_fll_band_edge_cc.cc

index cb67b81040130225dfd9a9db3473256ae6767091..db16a634b773af6774a160d630795c8eee6b5918 100644 (file)
@@ -55,7 +55,6 @@ gr_pfb_channelizer_ccf::gr_pfb_channelizer_ccf (unsigned int numchans,
   // This tests the specified input sample rate to see if it conforms to this
   // requirement within a few significant figures.
   double intp = 0;
-  double x = (10000.0*rint(numchans / oversample_rate)) / 10000.0;
   double fltp = modf(numchans / oversample_rate, &intp);
   if(fltp != 0.0)
     throw std::invalid_argument("gr_pfb_channelizer: oversample rate must be N/i for i in [1, N]"); 
index ff997e7a978fd78f14e53d7b2355a1597631a342..c32398e6d55ca2e29c16484d29a0c8b487db5a42 100644 (file)
@@ -161,8 +161,9 @@ gr_fll_band_edge_cc::work (int noutput_items,
   const gr_complex *in  = (const gr_complex *) input_items[0];
   gr_complex *out = (gr_complex *) output_items[0];
 
-  float *frq, *phs;
-  gr_complex *err;
+  float *frq = NULL;
+  float *phs = NULL;
+  gr_complex *err = NULL;
   if(output_items.size() > 2) {
     frq = (float *) output_items[1];
     phs = (float *) output_items[2];