aboutsummaryrefslogtreecommitdiff
path: root/src/Storage.c
diff options
context:
space:
mode:
authortradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364>2002-06-17 11:04:50 +0000
committertradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364>2002-06-17 11:04:50 +0000
commitc94d8cd974d9ce822bc4a7f0e5b644e28e77ad69 (patch)
tree3b9ccb86b9041cc9aca645396e3b03e088549dee /src/Storage.c
parent9c94369f518883f174aa324a360776bf16a30174 (diff)
Don't use internal CCTK variable "_cctk_one" anymore because it is about to be removed.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@388 b61c5cb5-eaca-4651-9a7a-d64986f99364
Diffstat (limited to 'src/Storage.c')
-rw-r--r--src/Storage.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Storage.c b/src/Storage.c
index 6f9cb45..63d9186 100644
--- a/src/Storage.c
+++ b/src/Storage.c
@@ -132,6 +132,7 @@ const int *PUGH_ArrayGroupSize (const cGH *GH,
int first_var;
pGA *GA;
const int *retval;
+ static const int one = 1;
if (groupname)
@@ -159,7 +160,7 @@ const int *PUGH_ArrayGroupSize (const cGH *GH,
}
else
{
- retval = &_cctk_one;
+ retval = &one;
}
}
else