From da92fed07c5324860da35bd9b99f5176a9a9a2a8 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Mon, 17 Dec 2012 23:59:43 +0000 Subject: [PATCH] [Reactor] Fixed uninitialized variable 'm_dist' in FlowReactor --- src/zeroD/FlowReactor.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/zeroD/FlowReactor.cpp b/src/zeroD/FlowReactor.cpp index 4653ba433..244541f7c 100644 --- a/src/zeroD/FlowReactor.cpp +++ b/src/zeroD/FlowReactor.cpp @@ -13,8 +13,13 @@ using namespace std; namespace Cantera { -FlowReactor::FlowReactor() : Reactor(), m_fctr(1.0e10), - m_speed0(0.0) {} +FlowReactor::FlowReactor() : + Reactor(), + m_fctr(1.0e10), + m_speed0(0.0), + m_dist(0.0) +{ +} // overloaded method of FuncEval. Called by the integrator to // get the initial conditions.