summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-01-07 21:09:24 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-01-07 21:09:24 +0000
commita32a81a08457d678bc1efaf787be1ab3f4c67e7c (patch)
tree609f2ed9f4033009f08007d765f8a94f1e37ceb8 /src/include
parentd215dfd924c18c704de814fb1f8ab98b48962d64 (diff)
Changed way that variables are automatically 'used' so that we don't get
compiler warnings about the restrict qualifier. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3952 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include')
-rw-r--r--src/include/cctk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/cctk.h b/src/include/cctk.h
index 1b0f19ad..49cd2769 100644
--- a/src/include/cctk.h
+++ b/src/include/cctk.h
@@ -227,6 +227,7 @@ static inline int CCTK_GFINDEX4D (const cGH *GH, int i, int j, int k, int l)
#define _DECLARE_CCTK_ARGUMENTS _DECLARE_CCTK_CARGUMENTS
#define _DECLARE_CCTK_CARGUMENTS \
+ int cctki_dummy_int;\
int cctk_dim = cctkGH->cctk_dim;\
int *cctk_gsh = cctkGH->cctk_gsh;\
int *cctk_lsh = cctkGH->cctk_lsh;\