aboutsummaryrefslogtreecommitdiff
path: root/src/ReductionMax.c
diff options
context:
space:
mode:
authortradke <tradke@d60812e6-3970-4df4-986e-c251b06effeb>2002-06-20 11:53:05 +0000
committertradke <tradke@d60812e6-3970-4df4-986e-c251b06effeb>2002-06-20 11:53:05 +0000
commit1d524cc564ffa5c8c82ec067393abbc4dc34a769 (patch)
treef35be2efa28eda4e1ea4ddb656c214326dc8df31 /src/ReductionMax.c
parentc6c785840f6a3d5ddf0745695e9bd793a253c2eb (diff)
Fixed compiler warnings about unused arguments.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@32 d60812e6-3970-4df4-986e-c251b06effeb
Diffstat (limited to 'src/ReductionMax.c')
-rw-r--r--src/ReductionMax.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ReductionMax.c b/src/ReductionMax.c
index 6ba57c7..e2f3eb2 100644
--- a/src/ReductionMax.c
+++ b/src/ReductionMax.c
@@ -219,9 +219,9 @@ static int PUGH_ReductionMaxVal (cGH *GH,
/* prevent compiler warnings about unused parameters */
- GH = GH;
- proc = proc;
- num_points = num_points;
+ (void) (GH + 0);
+ (void) (proc + 0);
+ (void) (num_points + 0);
/* macros to complete the ITERATE_ARRAY macro */
#define INITIAL_REDUCTION_VALUE(array) ((array)[0])