aboutsummaryrefslogtreecommitdiff
path: root/src/FlatBoundary.c
diff options
context:
space:
mode:
authorrideout <rideout@6a38eb6e-646e-4a02-a296-d141613ad6c4>2003-02-27 15:51:22 +0000
committerrideout <rideout@6a38eb6e-646e-4a02-a296-d141613ad6c4>2003-02-27 15:51:22 +0000
commitcdf2f1aedf4cc666081ca06badb59098770e77f0 (patch)
treeb0c805621be752b48f11ca1921a598e3f602a929 /src/FlatBoundary.c
parent2fe53a06bb672a339eb43c6c3bb2d179354f309f (diff)
Eliminate "possible uninitialized variable" warnings on OSF1.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@210 6a38eb6e-646e-4a02-a296-d141613ad6c4
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) {