From f71066df43c65e8d6c737475d98cd7418ca44038 Mon Sep 17 00:00:00 2001 From: knarf Date: Wed, 5 Dec 2012 14:49:06 +0000 Subject: remove unused variable weight_sum git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/LocalReduce/trunk@96 7daa882c-dc44-4453-834e-278d26b18e6a --- src/ReductionMax.c | 3 +-- 1 file changed, 1 insertion(+), 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--; -- cgit v1.2.3