From c961f8e7d2d4768e4e379040b1c11ad2fbfdf3d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Wed, 28 Mar 2012 11:56:20 +0200 Subject: [PATCH] Suppressed multiple warnings. --- opm/core/pressure/tpfa/cfs_tpfa_residual.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/core/pressure/tpfa/cfs_tpfa_residual.c b/opm/core/pressure/tpfa/cfs_tpfa_residual.c index dc68392f3..0bc207dd8 100644 --- a/opm/core/pressure/tpfa/cfs_tpfa_residual.c +++ b/opm/core/pressure/tpfa/cfs_tpfa_residual.c @@ -785,7 +785,7 @@ assemble_completion_to_well(int w, int c, int nc, int np, { int wdof; size_t jc, jw; - double res, w2c, w2w; + double res = 0.0, w2c = 0.0, w2w = 0.0; switch (W->ctrl->ctrl[w]) { case BHP :