aboutsummaryrefslogtreecommitdiff
path: root/src/CopyBoundary.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/CopyBoundary.c')
-rw-r--r--src/CopyBoundary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CopyBoundary.c b/src/CopyBoundary.c
index 864a490..8b3f85c 100644
--- a/src/CopyBoundary.c
+++ b/src/CopyBoundary.c
@@ -96,7 +96,7 @@ int BndCopy(const cGH *GH, int num_vars, int *vars, int *faces, int *tables)
int dir; /* direction in which to apply bc */
int copy_from; /* variable (index) from which to copy the boundary data */
- 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) {