summaryrefslogtreecommitdiffstats
path: root/src/H5FDstdio.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-09-19 21:08:15 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-09-19 21:08:15 (GMT)
commit22867dca0e1123aef450b3feae34661cefb64a91 (patch)
tree879369bd3df77b6e8c7834f7a3d9980236116e8d /src/H5FDstdio.c
parent073ef8f453445bbe0cfa2569abdaed2a50721a95 (diff)
downloadhdf5-22867dca0e1123aef450b3feae34661cefb64a91.zip
hdf5-22867dca0e1123aef450b3feae34661cefb64a91.tar.gz
hdf5-22867dca0e1123aef450b3feae34661cefb64a91.tar.bz2
[svn-r2579] Purpose:
Clean up small compiler warnings and add missing function prototypes. Platforms tested: FreeBSD 4.1
Diffstat (limited to 'src/H5FDstdio.c')
-rw-r--r--src/H5FDstdio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5FDstdio.c b/src/H5FDstdio.c
index 62dc93c..5461996 100644
--- a/src/H5FDstdio.c
+++ b/src/H5FDstdio.c
@@ -430,7 +430,8 @@ H5FD_stdio_cmp(const H5FD_t *_f1, const H5FD_t *_f2)
static herr_t
H5FD_stdio_query(const H5FD_t *_f, unsigned long *flags /* out */)
{
- const H5FD_stdio_t *f = (const H5FD_stdio_t*)_f;
+ /* Shut compiler up */
+ _f=_f;
/* Set the VFL feature flags that this driver supports */
if(flags) {
@@ -670,6 +671,7 @@ H5FD_stdio_write(H5FD_t *_file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr,
/* Shut compiler up */
dxpl_id=dxpl_id;
+ type=type;
/* Clear the error stack */
H5Eclear();