aboutsummaryrefslogtreecommitdiff
path: root/src/FlatBoundary.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/FlatBoundary.c')
-rw-r--r--src/FlatBoundary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FlatBoundary.c b/src/FlatBoundary.c
index 08657d5..5d6458d 100644
--- a/src/FlatBoundary.c
+++ b/src/FlatBoundary.c
@@ -93,7 +93,7 @@ int BndFlat(const cGH *GH, int num_vars, int *vars, int *faces, int *tables)
int *stencil_alldirs; /* width of stencil in all directions */
int dir; /* direction in which to apply bc */
- retval = 0; stencil_alldirs = NULL;
+ retval = 0; stencil_alldirs = NULL; max_gdim = 0;
/* loop through variables, j at a time */
for (i=0; i<num_vars; i+=j) {