diff options
author | goodale <goodale@c78560ca-4b45-4335-b268-5f3340f3cb52> | 1999-10-26 23:44:56 +0000 |
---|---|---|
committer | goodale <goodale@c78560ca-4b45-4335-b268-5f3340f3cb52> | 1999-10-26 23:44:56 +0000 |
commit | 8a95f422744fd805afb1da4977b46593feb10655 (patch) | |
tree | 10e29f7d39d39be0f9f2793cf4750cb52faf1971 /src | |
parent | 06e88a8260f91efc03fa8e65dfb9d0c1a318f250 (diff) |
Various things pointed out by running Insure on the code. Normally
harmless things like not returning a value, but a rather subtle memory
leak in one place too.
Tom
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@75 c78560ca-4b45-4335-b268-5f3340f3cb52
Diffstat (limited to 'src')
-rw-r--r-- | src/Symmetry.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Symmetry.c b/src/Symmetry.c index c84ea53..5a92db6 100644 --- a/src/Symmetry.c +++ b/src/Symmetry.c @@ -153,7 +153,7 @@ int CartSymBCGroupI(cGH *GH, int groupnum) { int doSym[6]; /* Get out if we are sure no symmetries should be applied */ - if (CCTK_Equals(domain,"full")) return; + if (CCTK_Equals(domain,"full")) return 0; /* Get the pointer to the Symmetry GH extension */ sGHex = (SymmetryGHex*)GH->extensions[CCTK_GHExtensionHandle("Symmetry")]; @@ -238,7 +238,7 @@ int CartSymBCVarI(cGH *GH, int varnum) { int doSym[6]; /* Get out if we are sure no symmetries should be applied */ - if (CCTK_Equals(domain,"full")) return; + if (CCTK_Equals(domain,"full")) return 0; /* Get the pointer to the Symmetry GH extension */ |