Don't mix declarations and definitions.
This commit is contained in:
1 parent
95f81401ab
commit
024f95be5d
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user