summaryrefslogtreecommitdiff
path: root/src/include/cctk.h
diff options
context:
space:
mode:
authorschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-08-03 12:52:17 +0000
committerschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-08-03 12:52:17 +0000
commitbda3441af6163c434ec06ef293ef1195750e8140 (patch)
tree736ea66e5e13dcb7d5997d3a44255ce65921d5d3 /src/include/cctk.h
parentd20a1a8fd777c810ff93dbc65104a4feac974e1d (diff)
Avoid warning about unused variable cctki_dummy_int in thorns without
grid functions git-svn-id: http://svn.cactuscode.org/flesh/trunk@4101 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/cctk.h')
-rw-r--r--src/include/cctk.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/cctk.h b/src/include/cctk.h
index e9bc52af..a46ddd1d 100644
--- a/src/include/cctk.h
+++ b/src/include/cctk.h
@@ -251,7 +251,8 @@ static inline int CCTK_GFINDEX4D (const cGH *GH, int i, int j, int k, int l)
int cctk_convfac = cctkGH->cctk_convfac;\
int *cctk_nghostzones = cctkGH->cctk_nghostzones;\
int cctk_iteration = cctkGH->cctk_iteration;\
- const void *cctki_use = (cctki_use = &cctk_dim,\
+ const void *cctki_use = (cctki_use = &cctki_dummy_int,\
+ cctki_use = &cctk_dim,\
cctki_use = &cctk_gsh,\
cctki_use = &cctk_lsh,\
cctki_use = &cctk_lbnd,\