diff options
author | James Laird <jlaird@hdfgroup.org> | 2007-01-24 16:15:27 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2007-01-24 16:15:27 (GMT) |
commit | 0ab3725051f24fede655d054e3ee0868dcfa7782 (patch) | |
tree | 1ecb2c9792955f41b668f91d6c445f384c3c3f6f /src/H5FDcore.c | |
parent | 5a8f3945fe623fae8efe35bcaece8775fcc3537e (diff) | |
download | hdf5-0ab3725051f24fede655d054e3ee0868dcfa7782.zip hdf5-0ab3725051f24fede655d054e3ee0868dcfa7782.tar.gz hdf5-0ab3725051f24fede655d054e3ee0868dcfa7782.tar.bz2 |
[svn-r13186] Cleaned up a few warnings by initializing variables and doing a few casts.
Tested on kagiso, smirom, copper.
Diffstat (limited to 'src/H5FDcore.c')
-rw-r--r-- | src/H5FDcore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDcore.c b/src/H5FDcore.c index 4c0d906..72c3a0f 100644 --- a/src/H5FDcore.c +++ b/src/H5FDcore.c @@ -434,7 +434,7 @@ H5FD_core_open(const char *name, unsigned flags, hid_t fapl_id, /* If an existing file is opened, load the whole file into memory. */ if(!(H5F_ACC_CREAT & flags)) { - unsigned char *x; + unsigned char *x=NULL; size_t size; if (HDfstat(file->fd, &sb)<0) |