aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorallen <allen@edbb7e70-9571-45d5-a481-0a560a9b4751>2002-01-05 18:58:18 +0000
committerallen <allen@edbb7e70-9571-45d5-a481-0a560a9b4751>2002-01-05 18:58:18 +0000
commitf42d12c96264da8b8b2665bc88aa126e0a7d0474 (patch)
tree0b3c48b3a99c52be377988606712b7d0f8386073 /src
parent4161137abd0ef42a693cea4e7ec6df2278b6eea0 (diff)
Cosmetic formatting change
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/CoordGauge/trunk@39 edbb7e70-9571-45d5-a481-0a560a9b4751
Diffstat (limited to 'src')
-rw-r--r--src/Slicing.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/Slicing.c b/src/Slicing.c
index 3295842..4df0739 100644
--- a/src/Slicing.c
+++ b/src/Slicing.c
@@ -105,12 +105,13 @@ int Einstein_RegisterSlicing(const char *slice_name)
/*increase the counter for registered slicings */
num_slicings++;
- } else
- {
- /* Memory failure */
- CCTK_WARN(0,"cannot allocate memory for new slicing");
- handle = -2;
- }
+ }
+ else
+ {
+ /* Memory failure */
+ CCTK_WARN(0,"cannot allocate memory for new slicing");
+ handle = -2;
+ }
}
else
{