From 024f95be5d3307c4bc4484c60535ba26b1699862 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A5rd=20Skaflestad?= Date: Thu, 7 Jun 2012 10:28:02 +0200 Subject: [PATCH] Don't mix declarations and definitions. --- opm/core/pressure/tpfa/ifs_tpfa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opm/core/pressure/tpfa/ifs_tpfa.c b/opm/core/pressure/tpfa/ifs_tpfa.c index ac65177d..00397d99 100644 --- a/opm/core/pressure/tpfa/ifs_tpfa.c +++ b/opm/core/pressure/tpfa/ifs_tpfa.c @@ -760,11 +760,11 @@ ifs_tpfa_assemble_comprock_increment(struct UnstructuredGrid *G , struct ifs_tpfa_data *h ) /* ---------------------------------------------------------------------- */ { - int c, w, wdof, system_singular; + int c, w, wdof, system_singular, ok; size_t j; double *v; - int ok = 1; + ok = 1; assemble_incompressible(G, F, trans, gpress, h, &system_singular, &ok); /* We want to solve a Newton step for the residual