aboutsummaryrefslogtreecommitdiff
path: root/src/local_reductions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/local_reductions.h')
-rw-r--r--src/local_reductions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local_reductions.h b/src/local_reductions.h
index ac4c8aa..9d3e68b 100644
--- a/src/local_reductions.h
+++ b/src/local_reductions.h
@@ -27,7 +27,7 @@ extern "C" {
#define ITERATE_ON_ARRAY(i,cctk_type, in_data, out_type, out_num, weight_on, weight, input_array_offset, indices, sum_indices, max_iter, iter, flag, actual_indices,input_array_strides, input_array_min_subscripts,input_array_dims,product) \
{ \
const cctk_type * typed_vdata = (const cctk_type *)(in_data); \
- out_type inval; \
+ CCTK_ATTRIBUTE_UNUSED out_type inval; \
out_type * outval = (out_type *) out_num; \
iter = 0; \
sum_indices = 0; \