aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlanfer <lanfer@f5a6acaf-da7d-456b-b0a8-35edbc60b392>2000-01-12 15:53:37 +0000
committerlanfer <lanfer@f5a6acaf-da7d-456b-b0a8-35edbc60b392>2000-01-12 15:53:37 +0000
commit33384439f6e9abb34327d971eafcd09e3fd48113 (patch)
tree932a29c46e6be981bf78509b3d22251c06d4e410
parentf7fb21c4ee5720331bc3bdc16e7e8d997148ab69 (diff)
avoid warnings
git-svn-id: http://svn.cactuscode.org/arrangements/CactusWave/IDScalarWave/trunk@21 f5a6acaf-da7d-456b-b0a8-35edbc60b392
-rw-r--r--src/CoordinateStuff.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CoordinateStuff.c b/src/CoordinateStuff.c
index 59e99a1..bce935f 100644
--- a/src/CoordinateStuff.c
+++ b/src/CoordinateStuff.c
@@ -35,11 +35,11 @@ int IndexFloor(cGH *GH, CCTK_REAL coord_value, int d)
CCTK_REAL cmin,cmax;
if (d==0)
- ierr= CCTK_CoordRange(GH,&cmin,&cmax,"x");
+ CCTK_CoordRange(GH,&cmin,&cmax,"x");
else if (d==1)
- ierr= CCTK_CoordRange(GH,&cmin,&cmax,"y");
+ CCTK_CoordRange(GH,&cmin,&cmax,"y");
else if (d==2)
- ierr= CCTK_CoordRange(GH,&cmin,&cmax,"z");
+ CCTK_CoordRange(GH,&cmin,&cmax,"z");
else
CCTK_WARN(0,"IndexFloor: dimension is not valid. Fortran:1..3 C:0..2");