aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/CoordBase.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CoordBase.c b/src/CoordBase.c
index 9f38148..c53837a 100644
--- a/src/CoordBase.c
+++ b/src/CoordBase.c
@@ -87,7 +87,8 @@ CCTK_INT CoordBase_SystemRegister(CCTK_POINTER_TO_CONST GH, CCTK_INT dim,
uHash *hash;
/* Initialize variables */
- retval = 0;
+ len = retval = 0;
+ hash = NULL;
/* Check input arguments */
if (dim <= 0)