diff options
-rw-r--r-- | src/Mapping.c | 6 |
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 |