From 7fa05348da5b4413624195108003ab38d0e12887 Mon Sep 17 00:00:00 2001 From: tradke Date: Mon, 21 Jun 2004 09:20:38 +0000 Subject: Properly initialize local variables to get rid of gcc warnings. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CoordBase/trunk@19 0337457d-221f-4ee6-a5f0-14255d5370d8 --- src/CoordBase.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3