diff options
author | allen <allen@c78560ca-4b45-4335-b268-5f3340f3cb52> | 2000-04-04 10:29:16 +0000 |
---|---|---|
committer | allen <allen@c78560ca-4b45-4335-b268-5f3340f3cb52> | 2000-04-04 10:29:16 +0000 |
commit | ed1450e873cf10e7e2a9e4da91d45dcee64f68f3 (patch) | |
tree | 6aa356cd52a4ccec52343c2a71779f1fdd1de9be | |
parent | f60568c6b751caa05b7c43ae055862b6b25de281 (diff) |
Removing compiler warnings
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@97 c78560ca-4b45-4335-b268-5f3340f3cb52
-rw-r--r-- | src/Startup.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Startup.c b/src/Startup.c index cd13d88..0c86f64 100644 --- a/src/Startup.c +++ b/src/Startup.c @@ -66,9 +66,25 @@ int RegisterCartGrid3DCoords(void) int handle; handle=CCTK_CoordRegister(1,"grid::x","x"); + if (handle<0) + { + CCTK_WARN(1,"Problem with registering coordinate x"); + } handle=CCTK_CoordRegister(2,"grid::y","y"); + if (handle<0) + { + CCTK_WARN(1,"Problem with registering coordinate y"); + } handle=CCTK_CoordRegister(3,"grid::z","z"); + if (handle<0) + { + CCTK_WARN(1,"Problem with registering coordinate z"); + } handle=CCTK_CoordRegister(0,"grid::r","r"); + if (handle<0) + { + CCTK_WARN(1,"Problem with registering coordinate r"); + } return 0; } |