aboutsummaryrefslogtreecommitdiff
path: root/src/ReductionMax.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ReductionMax.c')
-rw-r--r--src/ReductionMax.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ReductionMax.c b/src/ReductionMax.c
index a40bb73..5da25b9 100644
--- a/src/ReductionMax.c
+++ b/src/ReductionMax.c
@@ -155,7 +155,6 @@ static int ReductionMax (int N_dims, int operator_handle,
/* weight variables declared here */
int weight_on = 0; /* weight is by default off=0 */
void const * weight; /* pointer to the weight variable */
- CCTK_REAL weight_sum;
/* prevent warnings for unused vars */
(void)(operator_handle + 0);
@@ -303,7 +302,7 @@ static int ReductionMax (int N_dims, int operator_handle,
}
}
- /* Get the values of num_points and weight_sum */
+ /* Get the values of num_points */
ierr = Util_TableGetInt(param_table_handle, &num_points, "num_points");
num_points--;