From 0062c24cb004a59d96e75b4f516b7a83b5e7145d Mon Sep 17 00:00:00 2001 From: tradke Date: Wed, 2 Aug 2000 15:27:51 +0000 Subject: Fixed some more warnings. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOStreamedHDF5/trunk@17 0888f3d4-9f52-45d2-93bc-d00801ff5e46 --- src/ParseGeometry.c | 4 ++-- src/StreamedHDF5GH.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ParseGeometry.c b/src/ParseGeometry.c index d8f3373..b8fdd3e 100644 --- a/src/ParseGeometry.c +++ b/src/ParseGeometry.c @@ -29,7 +29,7 @@ int GeometryParser(const char *before, char **outname, StreamGeo_t *geo) char *dim_s=NULL, *ori_s=NULL, *dir_s=NULL; char *len_s=NULL, *down_s=NULL; - int dim, idim, iidim; + int dim = 0, idim, iidim; int index; char *info; @@ -304,7 +304,7 @@ void SetDefaultGeo(StreamGeo_t *geo) { DECLARE_CCTK_PARAMETERS int idim; - char *argument, *token; + const char *argument, *token; geo->vdim = -1; geo->sdim = -1; diff --git a/src/StreamedHDF5GH.h b/src/StreamedHDF5GH.h index 3b7e464..dd60093 100644 --- a/src/StreamedHDF5GH.h +++ b/src/StreamedHDF5GH.h @@ -156,6 +156,8 @@ void StreamedHDF5_DumpParams (cGH *GH, hid_t group); void StreamedHDF5_DumpGHExtensions (cGH *GH, hid_t group); int StreamedHDF5_DumpVar (cGH *GH, int index, int timelevel, hid_t iof); void ParseVarsForOutput (StreamedHDF5GH *h5GH, const char *var_list); +void SetDefaultGeo(StreamGeo_t *geo); +int GeometryParser(const char *before, char **outname, StreamGeo_t *geo); #ifdef __cplusplus } // extern "C" { -- cgit v1.2.3