aboutsummaryrefslogtreecommitdiff
path: root/src/ReductionNormInf.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/ReductionNormInf.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/ReductionNormInf.c')
-rw-r--r--src/ReductionNormInf.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ReductionNormInf.c b/src/ReductionNormInf.c
index b93ce49..e4ee2e3 100644
--- a/src/ReductionNormInf.c
+++ b/src/ReductionNormInf.c
@@ -235,8 +235,11 @@ static int PUGH_ReductionNormInf (cGH *GH,
/* avoid compiler warnings about unused parameters */
- proc = proc;
- num_points = num_points;
+#ifndef CCTK_MPI
+ (void) (GH + 0);
+ (void) (proc + 0);
+#endif
+ (void) (num_points + 0);
for (i = total_outvals = 0; i < num_inarrays; i++)
{