diff options
Diffstat (limited to 'src/ReductionMin.c')
-rw-r--r-- | src/ReductionMin.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ReductionMin.c b/src/ReductionMin.c index 5e08255..4e32ff8 100644 --- a/src/ReductionMin.c +++ b/src/ReductionMin.c @@ -218,6 +218,10 @@ static int PUGH_ReductionMinVal (cGH *GH, #endif + /* prevent compiler warnings about the num_points parameter + which is unused in this reduction operator */ + num_points = num_points; + /* macros to complete the ITERATE_ARRAY macro */ #define INITIAL_REDUCTION_VALUE(array) ((array)[0]) #define REDUCTION_OPERATION(min, scalar) if (min > scalar) min = scalar |