diff options
author | tradke <tradke@0888f3d4-9f52-45d2-93bc-d00801ff5e46> | 2000-08-02 15:27:51 +0000 |
---|---|---|
committer | tradke <tradke@0888f3d4-9f52-45d2-93bc-d00801ff5e46> | 2000-08-02 15:27:51 +0000 |
commit | 0062c24cb004a59d96e75b4f516b7a83b5e7145d (patch) | |
tree | bd4535a1e22a2ce08e115e4531d0b6602b46912d | |
parent | 0b15e3c9154396dde8258ec78e0086e492acb68e (diff) |
Fixed some more warnings.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOStreamedHDF5/trunk@17 0888f3d4-9f52-45d2-93bc-d00801ff5e46
-rw-r--r-- | src/ParseGeometry.c | 4 | ||||
-rw-r--r-- | 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" { |