[cig-commits] [commit] master: initialize variables to fix warnings (03a0724)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Thu May 22 21:56:31 PDT 2014
Repository : https://github.com/geodynamics/aspect
On branch : master
Link : https://github.com/geodynamics/aspect/compare/d71e1b31f12798ea55fa549bb57261b3baf930fd...03a07243826af19c94d172688ba1f905c334e07c
>---------------------------------------------------------------
commit 03a07243826af19c94d172688ba1f905c334e07c
Author: Timo Heister <timo.heister at gmail.com>
Date: Fri May 23 00:56:27 2014 -0400
initialize variables to fix warnings
>---------------------------------------------------------------
03a07243826af19c94d172688ba1f905c334e07c
source/postprocess/internal_heating_statistics.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/source/postprocess/internal_heating_statistics.cc b/source/postprocess/internal_heating_statistics.cc
index a5ee3aa..c3a4f6b 100644
--- a/source/postprocess/internal_heating_statistics.cc
+++ b/source/postprocess/internal_heating_statistics.cc
@@ -61,8 +61,8 @@ namespace aspect
cell = this->get_dof_handler().begin_active(),
endc = this->get_dof_handler().end();
- double local_internal_heating_integrals;
- double local_volume;
+ double local_internal_heating_integrals = 0;
+ double local_volume = 0;
// compute the integral quantities by quadrature
for (; cell!=endc; ++cell)
More information about the CIG-COMMITS
mailing list