From bda3441af6163c434ec06ef293ef1195750e8140 Mon Sep 17 00:00:00 2001 From: schnetter Date: Wed, 3 Aug 2005 12:52:17 +0000 Subject: 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 --- src/include/cctk.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include/cctk.h') 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,\ -- cgit v1.2.3