aboutsummaryrefslogtreecommitdiff
path: root/src/Output3D.c
diff options
context:
space:
mode:
authorgoodale <goodale@ebee0441-1374-4afa-a3b5-247f3ba15b9a>1999-10-26 23:45:01 +0000
committergoodale <goodale@ebee0441-1374-4afa-a3b5-247f3ba15b9a>1999-10-26 23:45:01 +0000
commite6fe55b957b034630d9574ebbcd8d0ecd28f2fb5 (patch)
treee05552adcd3996e6e33874ba4f84c1c19a830bc3 /src/Output3D.c
parent85f6b559e2e2e4917238e7cf4bc70b8c52861b71 (diff)
Various things pointed out by running Insure on the code. Normally
harmless things like not returning a value, but a rather subtle memory leak in one place too. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@60 ebee0441-1374-4afa-a3b5-247f3ba15b9a
Diffstat (limited to 'src/Output3D.c')
-rw-r--r--src/Output3D.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Output3D.c b/src/Output3D.c
index 25a98a7..ecb72fa 100644
--- a/src/Output3D.c
+++ b/src/Output3D.c
@@ -61,7 +61,7 @@ int IOFlexIO_Output3DGH (cGH *GH)
myGH = (flexioGH *) GH->extensions [CCTK_GHExtensionHandle ("IOFlexIO")];
if (myGH->IO_3Devery <= 0)
- return;
+ return 0;
/* Loop over all variables */
for (i = 0; i < CCTK_NumVars (); i++) {