diff --git a/dumux/decoupled/2p/diffusion/fvmpfa/fvmpfaovelocity2p.hh b/dumux/decoupled/2p/diffusion/fvmpfa/fvmpfaovelocity2p.hh
index 3f7088ac8e4aa399472de7d2122de6103687b7c3..65db4533e70d4a8d09c675743ad4ec6d2072b0c3 100644
--- a/dumux/decoupled/2p/diffusion/fvmpfa/fvmpfaovelocity2p.hh
+++ b/dumux/decoupled/2p/diffusion/fvmpfa/fvmpfaovelocity2p.hh
@@ -1479,9 +1479,6 @@ void FVMPFAOVelocity2P<TypeTag>::calculateVelocity()
                                 }
                                 }
 
-                                Scalar temperature = problem_.temperature(*eIt);
-                                Scalar referencePressure =  problem_.referencePressure(*eIt);
-
                                 Scalar lambdaWBound = 0;
                                 Scalar lambdaNWBound = 0;