summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2013-07-10 14:14:33 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2013-07-10 14:14:33 -0700
commit7f21a6fe54e82bed594c5f1432fe0ac7eeae7ad9 (patch)
tree8d48b23744f21e7d8fe94718ca34dd0358f0a12a
parent9109dc4f2f66a96ae249cfa1394cf6ed38608420 (diff)
parent45e7e6a61d2e99c32e3d2760431292b365c7809c (diff)
Merge branch 'maint'
-rw-r--r--gr-analog/lib/agc3_cc_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-analog/lib/agc3_cc_impl.cc b/gr-analog/lib/agc3_cc_impl.cc
index 0e02478e34..dc60c6a8d9 100644
--- a/gr-analog/lib/agc3_cc_impl.cc
+++ b/gr-analog/lib/agc3_cc_impl.cc
@@ -79,7 +79,7 @@ namespace gr {
// Compute a linear average on reset (no expected)
if(!d_reset) {
#endif
- float mag;
+ float mag(0.0);
for(int i=0; i<noutput_items; i++) {
mag += mags[i];
}