diff options
author | goodale <goodale@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2000-05-11 11:40:52 +0000 |
---|---|---|
committer | goodale <goodale@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2000-05-11 11:40:52 +0000 |
commit | be90ad4260b97c05896d6ee89eb5950cda8947cf (patch) | |
tree | cb34658d11abc0be620b03358f762510e8218a44 /src/GHExtension.c | |
parent | 44e945cfa0277e2e6d5e58a29df63ed24ad09c33 (diff) |
Fixing some strange switch statements.
Tom
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@214 b61c5cb5-eaca-4651-9a7a-d64986f99364
Diffstat (limited to 'src/GHExtension.c')
-rw-r--r-- | src/GHExtension.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/src/GHExtension.c b/src/GHExtension.c index 01c77ca..a211d36 100644 --- a/src/GHExtension.c +++ b/src/GHExtension.c @@ -358,15 +358,12 @@ int PUGH_GFGhostsize(int dim, int *ghostsize) { case 3: ghostsize[2] = ghost_size_z; - ghostsize[1] = ghost_size_y; - ghostsize[0] = ghost_size_x; case 2: - ghostsize[1] = ghost_size_y; ghostsize[0] = ghost_size_x; case 1: ghostsize[0] = ghost_size_x; default: - ghostsize = NULL; + ; } } @@ -385,15 +382,12 @@ int PUGH_GFPeriodic(int dim, int *perme) { case 3: perme[2] = periodic_z; - perme[1] = periodic_y; - perme[0] = periodic_x; case 2: perme[1] = periodic_y; - perme[0] = periodic_x; case 1: perme[0] = periodic_x; default: - perme = NULL; + ; } } else @@ -402,15 +396,12 @@ int PUGH_GFPeriodic(int dim, int *perme) { case 3: perme[2] = 0; - perme[1] = 0; - perme[0] = 0; case 2: perme[1] = 0; - perme[0] = 0; case 1: perme[0] = 0; default: - perme = NULL; + ; } } |