mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r7184] Purpose:
Code cleanup Description: Clean up various warnings from lint Platforms tested: FreeBSD 4.8 (sleipnir) no major changes requiring h5committest
This commit is contained in:
parent
720dcef073
commit
f2048a2379
@ -39,7 +39,7 @@
|
||||
#define HCOMMON_ERROR(maj, min, str) \
|
||||
HERROR (maj, min, str); \
|
||||
if (H5_IS_API(FUNC) && H5E_auto_g) \
|
||||
(H5E_auto_g)(H5E_auto_data_g)
|
||||
(void)((H5E_auto_g)(H5E_auto_data_g))
|
||||
|
||||
/*
|
||||
* HDONE_ERROR macro, used to facilitate error reporting between a
|
||||
@ -62,7 +62,7 @@
|
||||
*/
|
||||
#define HGOTO_ERROR(maj, min, ret_val, str) { \
|
||||
HCOMMON_ERROR (maj, min, str); \
|
||||
HGOTO_DONE (ret_val); \
|
||||
HGOTO_DONE (ret_val) \
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -297,7 +297,7 @@ typedef struct H5F_t H5F_t;
|
||||
/* Definition for size of raw data chunk cache(bytes) */
|
||||
#define H5F_ACS_DATA_CACHE_BYTE_SIZE_NAME "rdcc_nbytes"
|
||||
#define H5F_ACS_DATA_CACHE_BYTE_SIZE_SIZE sizeof(size_t)
|
||||
#define H5F_ACS_DATA_CACHE_BYTE_SIZE_DEF 1024*1024
|
||||
#define H5F_ACS_DATA_CACHE_BYTE_SIZE_DEF (1024*1024)
|
||||
|
||||
/* Definition for preemption read chunks first */
|
||||
#define H5F_ACS_PREEMPT_READ_CHUNKS_NAME "rdcc_w0"
|
||||
@ -324,7 +324,7 @@ typedef struct H5F_t H5F_t;
|
||||
is allowed by file driver */
|
||||
#define H5F_ACS_SIEVE_BUF_SIZE_NAME "sieve_buf_size"
|
||||
#define H5F_ACS_SIEVE_BUF_SIZE_SIZE sizeof(size_t)
|
||||
#define H5F_ACS_SIEVE_BUF_SIZE_DEF 64*1024
|
||||
#define H5F_ACS_SIEVE_BUF_SIZE_DEF (64*1024)
|
||||
|
||||
/* Definition for minimum "small data" allocation block size (when
|
||||
aggregating "small" raw data allocations. */
|
||||
|
@ -1216,7 +1216,7 @@ extern hbool_t H5_MPEinit_g; /* Has the MPE Library been initialized? */
|
||||
H5_INIT_GLOBAL = TRUE; \
|
||||
if (H5_init_library()<0) \
|
||||
HGOTO_ERROR (H5E_FUNC, H5E_CANTINIT, err, \
|
||||
"library initialization failed"); \
|
||||
"library initialization failed") \
|
||||
} \
|
||||
\
|
||||
/* Initialize this interface or bust */ \
|
||||
@ -1226,7 +1226,7 @@ extern hbool_t H5_MPEinit_g; /* Has the MPE Library been initialized? */
|
||||
((herr_t(*)(void))interface_init_func)()<0) { \
|
||||
interface_initialize_g = 0; \
|
||||
HGOTO_ERROR (H5E_FUNC, H5E_CANTINIT, err, \
|
||||
"interface initialization failed"); \
|
||||
"interface initialization failed") \
|
||||
} \
|
||||
} \
|
||||
\
|
||||
@ -1243,7 +1243,7 @@ extern hbool_t H5_MPEinit_g; /* Has the MPE Library been initialized? */
|
||||
((herr_t(*)(void))interface_init_func)()<0) { \
|
||||
interface_initialize_g = 0; \
|
||||
HGOTO_ERROR (H5E_FUNC, H5E_CANTINIT, err, \
|
||||
"interface initialization failed"); \
|
||||
"interface initialization failed") \
|
||||
} \
|
||||
} \
|
||||
\
|
||||
|
Loading…
Reference in New Issue
Block a user