aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-07-27 17:19:12 -0700
committerErik Schnetter <schnetter@gmail.com>2013-07-27 17:19:12 -0700
commite6d432076b3f84d8920eaccecf72f7b1c9e60180 (patch)
tree9a1456988aae8a504ca4d986d621c5c19be314fc
parentb369f71cb6c6f39a861077a7ad827c0792769b0c (diff)
LoopControl: Declare some variables as potentially unused
-rw-r--r--Carpet/LoopControl/src/loopcontrol.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/LoopControl/src/loopcontrol.h b/Carpet/LoopControl/src/loopcontrol.h
index a4dbb1757..3d5571810 100644
--- a/Carpet/LoopControl/src/loopcontrol.h
+++ b/Carpet/LoopControl/src/loopcontrol.h
@@ -155,10 +155,10 @@ extern "C" {
lc_assert(lc_fmin0 < lc_fmax0); \
lc_assert(lc_fmax0 <= lc_control.overall.max.v[0]); \
const ptrdiff_t lc_iminpos = lc_fmin0 + lc_ash0 * (j + lc_ash1 * k); \
- const ptrdiff_t lc_iminoffset = lc_iminpos % lc_str0; \
+ const ptrdiff_t lc_iminoffset CCTK_ATTRIBUTE_UNUSED = lc_iminpos % lc_str0; \
const int lc_fmax0_is_outer = lc_fmax0 == lc_control.overall.max.v[0]; \
const ptrdiff_t lc_imaxpos = lc_fmax0 + lc_ash0 * (j + lc_ash1 * k); \
- const ptrdiff_t lc_imaxoffset = lc_imaxpos % lc_str0; \
+ const ptrdiff_t lc_imaxoffset CCTK_ATTRIBUTE_UNUSED = lc_imaxpos % lc_str0; \
lc_assert(lc_iminoffset == 0); \
if (!lc_fmax0_is_outer) lc_assert(lc_imaxoffset == 0); \
lc_assert(vec_imin >= lc_control.overall.min.v[0]); \