diff options
author | allen <allen@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a> | 2000-07-20 08:10:18 +0000 |
---|---|---|
committer | allen <allen@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a> | 2000-07-20 08:10:18 +0000 |
commit | 921f63e29f065c29f763bd662ab283393720fb54 (patch) | |
tree | 5a8981b3961c2dfc7f6a3b4e348abf411b9e853f | |
parent | 11721966c66b2c13a4fc8bb5a1a3b45a64e9ca31 (diff) |
Fixed compiler warning on nott
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@82 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
-rw-r--r-- | src/GHExtension.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/GHExtension.c b/src/GHExtension.c index 72e8749..15468ab 100644 --- a/src/GHExtension.c +++ b/src/GHExtension.c @@ -169,14 +169,15 @@ int IOUtil_InitGH (cGH *GH) case 3 : myGH->downsample [2] = out3D_downsample_z; case 2 : myGH->downsample [1] = out3D_downsample_y; case 1 : myGH->downsample [0] = out3D_downsample_x; - default : } for (i = 3; i < CCTK_MaxDim (); i++) + { myGH->downsample [i] = 1; + } /* evaluate the out_single parameter only for Cactus compiled with - double precision */ + double precision */ #ifdef SINGLE_PRECISION myGH->out_single = 0; #else |