summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2013-07-10 14:10:24 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2013-07-10 14:10:24 -0700
commit45e7e6a61d2e99c32e3d2760431292b365c7809c (patch)
tree1d22a435f8ae8917b08322788af486b87d5b4879
parent4158bd3c2885bf8400e33ae4595e16116cd92dba (diff)
parent252036988a8e8fbdae746d310f2351a46d1c4191 (diff)
Merge commit '2520369' into 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];
}