diff options
author | knarf <knarf@7daa882c-dc44-4453-834e-278d26b18e6a> | 2012-12-05 14:49:06 +0000 |
---|---|---|
committer | knarf <knarf@7daa882c-dc44-4453-834e-278d26b18e6a> | 2012-12-05 14:49:06 +0000 |
commit | f71066df43c65e8d6c737475d98cd7418ca44038 (patch) | |
tree | 9242a4636c5ec8b6b4d4750007d6d56689d39787 | |
parent | 543765e374961346d8bbca2adbf41ea178d369ec (diff) |
remove unused variable weight_sum
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/LocalReduce/trunk@96 7daa882c-dc44-4453-834e-278d26b18e6a
-rw-r--r-- | src/ReductionMax.c | 3 |
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--; |