aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@10716dce-81a3-4424-a2c8-48026a0d3035>2002-11-12 11:07:37 +0000
committertradke <tradke@10716dce-81a3-4424-a2c8-48026a0d3035>2002-11-12 11:07:37 +0000
commit367219cb43c8289f536a3845457f8c8f999fcaf0 (patch)
tree3d943e814716ca42e47c746288e30150f0d25fb8
parentb657c2188633f27d03d55bdc3566f3e16cce4475 (diff)
Fixed compiler warnings about potentially uninitialized variables and using
trigraphs. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@93 10716dce-81a3-4424-a2c8-48026a0d3035
-rw-r--r--src/Mapping.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Mapping.c b/src/Mapping.c
index e8d3e9c..4434c8f 100644
--- a/src/Mapping.c
+++ b/src/Mapping.c
@@ -141,6 +141,10 @@ static CCTK_INT DefineMapping (const cGH *GH,
cGroup vinfo;
+ /* prevent compiler warnings */
+ mapping = NULL;
+ pughGH = NULL;
+
/* identify myself */
myproc = CCTK_MyProc (GH);
nprocs = CCTK_nProcs (GH);
@@ -179,7 +183,7 @@ static CCTK_INT DefineMapping (const cGH *GH,
}
else if ((pughGH = (const pGH *) PUGH_pGH (GH)) == NULL)
{
- error_msg = "no PUGH GH extension registered (PUGH not activated ??)";
+ error_msg = "no PUGH GH extension registered (PUGH not activated ?)";
retval = -4;
}
else