From 27ddb568bac957ecec3614698c912625be9eb9d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A5rd=20Skaflestad?= Date: Tue, 9 Nov 2010 10:03:42 +0100 Subject: [PATCH] Remove unused variable. --- src/cfs_tpfa.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/cfs_tpfa.c b/src/cfs_tpfa.c index 05d769e7c..f723d0520 100644 --- a/src/cfs_tpfa.c +++ b/src/cfs_tpfa.c @@ -219,8 +219,6 @@ cfs_tpfa_assemble(grid_t *G, int c1, c2, c, i, f, j1, j2; int is_neumann; - double s; - csrmatrix_zero( h->A); vector_zero (h->A->m, h->b); @@ -235,7 +233,6 @@ cfs_tpfa_assemble(grid_t *G, c1 = G->face_cells[2*f + 0]; c2 = G->face_cells[2*f + 1]; - s = 2.0*(c1 == c) - 1.0; c2 = (c1 == c) ? c2 : c1; if (c2 >= 0) {