From 17bf8918d5c5922688b8da562902a4ecaa86d8df Mon Sep 17 00:00:00 2001 From: Carlo Camilloni <carlo.camilloni@gmail.com> Date: Tue, 26 Apr 2016 10:12:18 +0200 Subject: [PATCH] removed warnings --- src/vesselbase/ActionWithVessel.cpp | 4 ++-- src/vesselbase/StoreDataVessel.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/vesselbase/ActionWithVessel.cpp b/src/vesselbase/ActionWithVessel.cpp index 1ec508862..41d05b50e 100644 --- a/src/vesselbase/ActionWithVessel.cpp +++ b/src/vesselbase/ActionWithVessel.cpp @@ -60,9 +60,9 @@ ActionWithVessel::ActionWithVessel(const ActionOptions&ao): noderiv(true), actionIsBridged(false), mydata(NULL), + stopwatch(*new Stopwatch), contributorsAreUnlocked(false), - weightHasDerivatives(false), - stopwatch(*new Stopwatch) + weightHasDerivatives(false) { maxderivatives=309; parse("MAXDERIVATIVES",maxderivatives); if( keywords.exists("SERIAL") ) parseFlag("SERIAL",serial); diff --git a/src/vesselbase/StoreDataVessel.cpp b/src/vesselbase/StoreDataVessel.cpp index 93c74d3ab..fe7d258b8 100644 --- a/src/vesselbase/StoreDataVessel.cpp +++ b/src/vesselbase/StoreDataVessel.cpp @@ -32,8 +32,8 @@ StoreDataVessel::StoreDataVessel( const VesselOptions& da ): Vessel(da), max_lowmem_stash(3), vecsize(0), -hard_cut(false), -nspace(0) +nspace(0), +hard_cut(false) { ActionWithValue* myval=dynamic_cast<ActionWithValue*>( getAction() ); if( !myval ) hasderiv=false; -- GitLab