diff options
Diffstat (limited to 'src/ReductionCount.c')
-rw-r--r-- | src/ReductionCount.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/ReductionCount.c b/src/ReductionCount.c index 9ee492e..5b5d92c 100644 --- a/src/ReductionCount.c +++ b/src/ReductionCount.c @@ -142,8 +142,7 @@ static int ReductionCount (int N_dims, int operator_handle, int * indices; int * actual_indices; int * actual_iters_per_dim; - int index = 0; - int max_iter = 0;; + int max_iter = 0; int iter = 0; int sum_indices = 0; int max_index = 1; @@ -161,8 +160,11 @@ static int ReductionCount (int N_dims, int operator_handle, CCTK_INT mask_offset; CCTK_INT mask_time_level; - - + /* prevent warnings for unused vars */ + (void)(mask_array); + (void)(mask_offset + 0); + (void)(mask_time_level + 0); + (void)(operator_handle + 0); /* set the number of points */ num_points = 0; |