mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r19015] Description:
Remove unused 'ATYPE' parameter from H5T_CONV() macro Remove unused 'result' variable from H5AC_set() Tested on: Mac OS X/32 10.6.4 (amazon) w/debug & production (too minor to require h5committest)
This commit is contained in:
parent
a0e6e24ff5
commit
8efa8ead45
@ -982,7 +982,6 @@ herr_t
|
||||
H5AC_set(H5F_t *f, hid_t dxpl_id, const H5AC_class_t *type, haddr_t addr,
|
||||
void *thing, unsigned int flags)
|
||||
{
|
||||
herr_t result;
|
||||
#ifdef H5_HAVE_PARALLEL
|
||||
H5AC_aux_t * aux_ptr = NULL;
|
||||
#endif /* H5_HAVE_PARALLEL */
|
||||
|
@ -241,7 +241,7 @@
|
||||
|
||||
#define H5T_CONV_sS(STYPE,DTYPE,ST,DT,D_MIN,D_MAX) { \
|
||||
HDcompile_assert(sizeof(ST)<=sizeof(DT)); \
|
||||
H5T_CONV(H5T_CONV_xX, long long, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
H5T_CONV(H5T_CONV_xX, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
}
|
||||
|
||||
#define H5T_CONV_sU_CORE(S,D,ST,DT,D_MIN,D_MAX) { \
|
||||
@ -266,7 +266,7 @@
|
||||
|
||||
#define H5T_CONV_sU(STYPE,DTYPE,ST,DT,D_MIN,D_MAX) { \
|
||||
HDcompile_assert(sizeof(ST)<=sizeof(DT)); \
|
||||
H5T_CONV(H5T_CONV_sU, long long, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
H5T_CONV(H5T_CONV_sU, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
}
|
||||
|
||||
#define H5T_CONV_uS_CORE(S,D,ST,DT,D_MIN,D_MAX) { \
|
||||
@ -291,17 +291,17 @@
|
||||
|
||||
#define H5T_CONV_uS(STYPE,DTYPE,ST,DT,D_MIN,D_MAX) { \
|
||||
HDcompile_assert(sizeof(ST)<=sizeof(DT)); \
|
||||
H5T_CONV(H5T_CONV_uS, long long, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
H5T_CONV(H5T_CONV_uS, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
}
|
||||
|
||||
#define H5T_CONV_uU(STYPE,DTYPE,ST,DT,D_MIN,D_MAX) { \
|
||||
HDcompile_assert(sizeof(ST)<=sizeof(DT)); \
|
||||
H5T_CONV(H5T_CONV_xX, long long, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
H5T_CONV(H5T_CONV_xX, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
}
|
||||
|
||||
#define H5T_CONV_Ss(STYPE,DTYPE,ST,DT,D_MIN,D_MAX) { \
|
||||
HDcompile_assert(sizeof(ST)>=sizeof(DT)); \
|
||||
H5T_CONV(H5T_CONV_Xx, long long, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
H5T_CONV(H5T_CONV_Xx, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
}
|
||||
|
||||
#define H5T_CONV_Su_CORE(S,D,ST,DT,D_MIN,D_MAX) { \
|
||||
@ -337,17 +337,17 @@
|
||||
|
||||
#define H5T_CONV_Su(STYPE,DTYPE,ST,DT,D_MIN,D_MAX) { \
|
||||
HDcompile_assert(sizeof(ST)>=sizeof(DT)); \
|
||||
H5T_CONV(H5T_CONV_Su, long long, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
H5T_CONV(H5T_CONV_Su, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
}
|
||||
|
||||
#define H5T_CONV_Us(STYPE,DTYPE,ST,DT,D_MIN,D_MAX) { \
|
||||
HDcompile_assert(sizeof(ST)>=sizeof(DT)); \
|
||||
H5T_CONV(H5T_CONV_Ux, long long, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
H5T_CONV(H5T_CONV_Ux, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
}
|
||||
|
||||
#define H5T_CONV_Uu(STYPE,DTYPE,ST,DT,D_MIN,D_MAX) { \
|
||||
HDcompile_assert(sizeof(ST)>=sizeof(DT)); \
|
||||
H5T_CONV(H5T_CONV_Ux, long long, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
H5T_CONV(H5T_CONV_Ux, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
}
|
||||
|
||||
#define H5T_CONV_su_CORE(S,D,ST,DT,D_MIN,D_MAX) { \
|
||||
@ -374,7 +374,7 @@
|
||||
|
||||
#define H5T_CONV_su(STYPE,DTYPE,ST,DT,D_MIN,D_MAX) { \
|
||||
HDcompile_assert(sizeof(ST)==sizeof(DT)); \
|
||||
H5T_CONV(H5T_CONV_su, long long, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
H5T_CONV(H5T_CONV_su, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
}
|
||||
|
||||
#define H5T_CONV_us_CORE(S,D,ST,DT,D_MIN,D_MAX) { \
|
||||
@ -401,12 +401,12 @@
|
||||
|
||||
#define H5T_CONV_us(STYPE,DTYPE,ST,DT,D_MIN,D_MAX) { \
|
||||
HDcompile_assert(sizeof(ST)==sizeof(DT)); \
|
||||
H5T_CONV(H5T_CONV_us, long long, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
H5T_CONV(H5T_CONV_us, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
}
|
||||
|
||||
#define H5T_CONV_fF(STYPE,DTYPE,ST,DT,D_MIN,D_MAX) { \
|
||||
HDcompile_assert(sizeof(ST)<=sizeof(DT)); \
|
||||
H5T_CONV(H5T_CONV_xX, long double, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
H5T_CONV(H5T_CONV_xX, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
}
|
||||
|
||||
/* Same as H5T_CONV_Xx_CORE, except that instead of using D_MAX and D_MIN
|
||||
@ -445,7 +445,7 @@
|
||||
|
||||
#define H5T_CONV_Ff(STYPE,DTYPE,ST,DT,D_MIN,D_MAX) { \
|
||||
HDcompile_assert(sizeof(ST)>=sizeof(DT)); \
|
||||
H5T_CONV(H5T_CONV_Ff, long double, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
H5T_CONV(H5T_CONV_Ff, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
}
|
||||
|
||||
#define H5T_HI_LO_BIT_SET(TYP, V, LO, HI) { \
|
||||
@ -536,7 +536,7 @@
|
||||
}
|
||||
|
||||
#define H5T_CONV_xF(STYPE,DTYPE,ST,DT,D_MIN,D_MAX) { \
|
||||
H5T_CONV(H5T_CONV_xF, long double, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
H5T_CONV(H5T_CONV_xF, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
}
|
||||
|
||||
/* Quincey added the condition branch (else if (*(S) != (ST)((DT)(*(S))))).
|
||||
@ -589,7 +589,7 @@
|
||||
}
|
||||
|
||||
#define H5T_CONV_Fx(STYPE,DTYPE,ST,DT,D_MIN,D_MAX) { \
|
||||
H5T_CONV(H5T_CONV_Fx, long double, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
H5T_CONV(H5T_CONV_Fx, STYPE, DTYPE, ST, DT, D_MIN, D_MAX) \
|
||||
}
|
||||
|
||||
/* Since all "no exception" cores do the same thing (assign the value in the
|
||||
@ -601,7 +601,7 @@
|
||||
}
|
||||
|
||||
/* The main part of every integer hardware conversion macro */
|
||||
#define H5T_CONV(GUTS,ATYPE,STYPE,DTYPE,ST,DT,D_MIN,D_MAX) { \
|
||||
#define H5T_CONV(GUTS,STYPE,DTYPE,ST,DT,D_MIN,D_MAX) { \
|
||||
size_t elmtno; /*element number */ \
|
||||
size_t sprec; /*source precision */ \
|
||||
size_t dprec; /*destination precision */ \
|
||||
|
Loading…
Reference in New Issue
Block a user