Don't mix declarations and definitions.

This commit is contained in:
Bård Skaflestad 2012-06-07 10:28:02 +02:00
parent b2c5772728
commit 77d92e18be

View File

@ -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