aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgoodale <goodale@b589c3ab-70e8-4b4d-a09f-cba2dd200880>2001-10-10 06:38:55 +0000
committergoodale <goodale@b589c3ab-70e8-4b4d-a09f-cba2dd200880>2001-10-10 06:38:55 +0000
commit5875cdece6520fa614cad4ba6ca45d59003be6f2 (patch)
tree73959310d840e4ec845b9f691e1b1d47c8cfc24a
parent94c03de8e8d28b6a958ae2a5761c3869025cca92 (diff)
Fixing ABR found by Purify.
Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOBasic/trunk@103 b589c3ab-70e8-4b4d-a09f-cba2dd200880
-rw-r--r--src/OutputInfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OutputInfo.c b/src/OutputInfo.c
index b86492c..1d67f88 100644
--- a/src/OutputInfo.c
+++ b/src/OutputInfo.c
@@ -343,7 +343,7 @@ static void CheckSteerableParameters (iobasicGH *myGH)
if (update_info_reductions_list)
{
/* free old info output lists ... */
- for (vindex = CCTK_NumVars (); vindex >= 0; vindex--)
+ for (vindex = CCTK_NumVars ()-1; vindex >= 0; vindex--)
{
if (myGH->info_reductions[vindex].num_reductions > 0)
{