diff options
author | jthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416> | 2003-01-29 19:58:42 +0000 |
---|---|---|
committer | jthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416> | 2003-01-29 19:58:42 +0000 |
commit | 78ea72195956d23440396e115f23596e725c736e (patch) | |
tree | 1e24780809bbf3a736ba6e83f5892c7cfdc8dcca /src | |
parent | aa5da1662946108b45eafdb42b9f1617ea82bdfa (diff) |
bracket a for-loop inside extra { ... } so the for-loop variable
doesn't escape into the main function's scope
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@129 df1f8a13-aa1d-4dd4-9681-27ded5b42416
Diffstat (limited to 'src')
-rw-r--r-- | src/GeneralizedPolynomial-Uniform/template.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/GeneralizedPolynomial-Uniform/template.c b/src/GeneralizedPolynomial-Uniform/template.c index b4b8e53..8752c3a 100644 --- a/src/GeneralizedPolynomial-Uniform/template.c +++ b/src/GeneralizedPolynomial-Uniform/template.c @@ -823,6 +823,7 @@ int pt; * Yuk! :( :( */ fp interp_coords_fp[N_DIMS]; + { int axis; for (axis = 0 ; axis < N_DIMS ; ++axis) { @@ -887,6 +888,7 @@ int pt; /* end of for (axis = ...) loop */ } + } /* |