aboutsummaryrefslogtreecommitdiff
path: root/src/Misner_standard.c
diff options
context:
space:
mode:
authorjthorn <jthorn@6a3ddf76-46e1-4315-99d9-bc56cac1ef84>2003-06-04 11:35:43 +0000
committerjthorn <jthorn@6a3ddf76-46e1-4315-99d9-bc56cac1ef84>2003-06-04 11:35:43 +0000
commit75a3697b1ffe03bc7c3fc2ea9034a528417fcb80 (patch)
tree08c6da0108a4c07812328dbc2c960167f87ff6f9 /src/Misner_standard.c
parentee863f8ac9b32ea1c5f60eb2c4bf4a6f9ad61018 (diff)
* fix mismatched CCTK_VWarn() formats and arguments for
"impossible value for conformal_storage" error msgs * also slight tweaks to surrounding code so the compiler knows that make_conformal_derivs is always set before it's used git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@135 6a3ddf76-46e1-4315-99d9-bc56cac1ef84
Diffstat (limited to 'src/Misner_standard.c')
-rw-r--r--src/Misner_standard.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/Misner_standard.c b/src/Misner_standard.c
index ec829b4..06dea8b 100644
--- a/src/Misner_standard.c
+++ b/src/Misner_standard.c
@@ -75,7 +75,7 @@ void Misner_standard(CCTK_ARGUMENTS)
CCTK_INT powfac;
CCTK_INT adm_mass;
const CCTK_REAL zero = 0.0, one = 1.0, three = 3.0;
- int make_conformal_derivs;
+ int make_conformal_derivs = 0;
CCTK_VInfo(CCTK_THORNSTRING,
"setting up Misner initial data");
@@ -101,14 +101,10 @@ void Misner_standard(CCTK_ARGUMENTS)
else
{
CCTK_VWarn(0, __LINE__, __FILE__, CCTK_THORNSTRING,
-"Misner_Standard(): impossible value for conformal_storage=\"%s\"!");
- /*NOTREACHED*/
+"Misner_Standard(): impossible value for conformal_storage=\"%s\"!",
+ conformal_storage); /*NOTREACHED*/
}
}
- else
- {
- make_conformal_derivs = 0;
- }
/* total number of points on this processor */
npoints = cctk_lsh[0] * cctk_lsh[1] * cctk_lsh[2];