diff options
author | jthorn <jthorn@6a3ddf76-46e1-4315-99d9-bc56cac1ef84> | 2003-06-04 11:35:43 +0000 |
---|---|---|
committer | jthorn <jthorn@6a3ddf76-46e1-4315-99d9-bc56cac1ef84> | 2003-06-04 11:35:43 +0000 |
commit | 75a3697b1ffe03bc7c3fc2ea9034a528417fcb80 (patch) | |
tree | 08c6da0108a4c07812328dbc2c960167f87ff6f9 /src/BrillLindquist.c | |
parent | ee863f8ac9b32ea1c5f60eb2c4bf4a6f9ad61018 (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/BrillLindquist.c')
-rw-r--r-- | src/BrillLindquist.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/BrillLindquist.c b/src/BrillLindquist.c index 4e2454b..bb5e21c 100644 --- a/src/BrillLindquist.c +++ b/src/BrillLindquist.c @@ -46,7 +46,7 @@ void BrillLindquist(CCTK_ARGUMENTS) CCTK_REAL xval, yval, zval; CCTK_REAL x_2, y_2, z_2; int i, npoints; - int make_conformal_derivs; + int make_conformal_derivs = 0; CCTK_VInfo(CCTK_THORNSTRING, "setting up Brill-Lindquist initial data for %d black holes", @@ -73,13 +73,9 @@ void BrillLindquist(CCTK_ARGUMENTS) else { CCTK_VWarn(0, __LINE__, __FILE__, CCTK_THORNSTRING, -"BrillLindquist(): impossible value for conformal_storage=\"%s\"!"); - /*NOTREACHED*/ +"BrillLindquist(): impossible value for conformal_storage=\"%s\"!", + conformal_storage); /*NOTREACHED*/ } - } - else - { - make_conformal_derivs = 0; } |