aboutsummaryrefslogtreecommitdiff
path: root/src/SetupGroup.c
diff options
context:
space:
mode:
authorallen <allen@b61c5cb5-eaca-4651-9a7a-d64986f99364>2000-03-05 16:09:47 +0000
committerallen <allen@b61c5cb5-eaca-4651-9a7a-d64986f99364>2000-03-05 16:09:47 +0000
commitf5ece95737b176d55fa7d62bdb8729e140975ea0 (patch)
tree1c52af7c215c066db6438a8ba12bdfa0af2131b0 /src/SetupGroup.c
parentb9a3a596467e5771bae1c5b096bc4da1f99a2993 (diff)
Fixing CactusPUGH-PUGH/256 (uninitialised variable)
Removing other warnings git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@173 b61c5cb5-eaca-4651-9a7a-d64986f99364
Diffstat (limited to 'src/SetupGroup.c')
-rw-r--r--src/SetupGroup.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/SetupGroup.c b/src/SetupGroup.c
index ec9620d..43127e0 100644
--- a/src/SetupGroup.c
+++ b/src/SetupGroup.c
@@ -157,9 +157,8 @@ int pugh_SetupArrayGroup
int i;
int variable;
int var_size = CCTK_VarTypeSize(vtype);
- int retval;
+ int retval = PUGH_SUCCESS;
int level;
- char *msg;
void ***temp;
pConnectivity *connectivity;
pGExtras *extras;
@@ -186,7 +185,6 @@ int pugh_SetupArrayGroup
newGH->myproc);
free(nprocs);
- /* free(nghostzones);*/
temp = (void ***)realloc
(newGH->variables,(newGH->nvariables+n_variables)*sizeof(void **));
@@ -259,7 +257,6 @@ int pugh_SetupGFGroup(pGH *newGH,
int var_size=CCTK_VarTypeSize(vtype);
int retval=PUGH_SUCCESS;
int level;
- char *msg;
void ***temp;
temp = (void ***)realloc(newGH->variables,