From 3eb13e74dd4e1a4d4947ebc603e0d197860d020c Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Mon, 16 Feb 2015 11:42:42 +0100 Subject: [PATCH] Adds braces to if() return; --- opm/autodiff/RedistributeDataHandles.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/opm/autodiff/RedistributeDataHandles.hpp b/opm/autodiff/RedistributeDataHandles.hpp index 1a7bc6f37..11a569d84 100644 --- a/opm/autodiff/RedistributeDataHandles.hpp +++ b/opm/autodiff/RedistributeDataHandles.hpp @@ -189,7 +189,9 @@ public: buffer.write(sendProps_.cellPvtRegionIndex()[e.index()]); buffer.write(sendProps_.pvtTableIdx_[e.index()]); if ( size_==2 ) + { return; + } buffer.write(sendProps_.satOilMax_[e.index()]); } template