summaryrefslogtreecommitdiff
path: root/src/include/cctk_Loop.h.pl
diff options
context:
space:
mode:
authoreschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac>2013-01-18 17:26:47 +0000
committereschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac>2013-01-18 17:26:47 +0000
commitd56e49b892e63b0ccd337093337ece0546f3d738 (patch)
treeda52083af478e0a6a89c6bb693ffc1ebf5cded4b /src/include/cctk_Loop.h.pl
parentf8a64793565bf9b5d737c3e2bfa3fe6ac0a47472 (diff)
Mark some cctk_Loop variables as unused
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4943 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/cctk_Loop.h.pl')
-rwxr-xr-xsrc/include/cctk_Loop.h.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/cctk_Loop.h.pl b/src/include/cctk_Loop.h.pl
index 10ade053..311efbcb 100755
--- a/src/include/cctk_Loop.h.pl
+++ b/src/include/cctk_Loop.h.pl
@@ -244,15 +244,15 @@ for $dim (1,2,3,4) {
(rpt (bsnl ' int const cctki0_[C]dir = ([C]dir);')),
(rpt (bsnl ' int const cctki0_[C]min = ([C]min_);')),
(rpt (bsnl ' int const cctki0_[C]max = ([C]max_);')),
- (rpt (bsnl ' int const cctki0_[C]ash = ([C]ash);')),
+ (rpt (bsnl ' int const cctki0_[C]ash CCTK_ATTRIBUTE_UNUSED = ([C]ash);')),
(bsnl ' int const cctki0_istr = (istr);'),
# Export loop bounds in the i direction
- (bsnl ' int const imin = cctki0_imin;'),
- (bsnl ' int const imax = cctki0_imax;'),
+ (bsnl ' int const imin CCTK_ATTRIBUTE_UNUSED = cctki0_imin;'),
+ (bsnl ' int const imax CCTK_ATTRIBUTE_UNUSED = cctki0_imax;'),
(bsnl ' _Pragma("omp for[DIM==1?: collapse([DIM-1])]")'),
(reverse (rpt (bsnl (' for (int [C]=cctki0_[C]min' .
# Align i-loop to vector size
- '[I==1? - ' . (sep '', rpt '[I==1?(imin:+cctki0_[C-1]ash*([C]]') . (sep '', rpt ')') . ' % cctki0_istr:]' .
+ '[I==1? - ' . (sep '', rpt '[I==1?(cctki0_imin:+cctki0_[C-1]ash*([C]]') . (sep '', rpt ')') . ' % cctki0_istr:]' .
'; [C]<cctki0_[C]max; [I==1?[C]+=cctki0_[C]str:++[C]]) {')))),
(rpt (bsnl ' int const n[C] CCTK_ATTRIBUTE_UNUSED = cctki0_[C]dir<0 ? [C]+1 : cctki0_[C]dir==0 ? 0 : cctki0_[C]max-[C];')),
(bsnl ' {'),