diff options
author | jhendersonHDF <jhenderson@hdfgroup.org> | 2023-04-12 19:56:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-12 19:56:51 (GMT) |
commit | d67d709a3a10cc4fe7caf950d92562b3cb739615 (patch) | |
tree | a0c87e2abc439887a6429f56c36f66e5dac02bde /src/H5private.h | |
parent | e94071fe53f7657d684c616988824e1bb0ef49c5 (diff) | |
download | hdf5-d67d709a3a10cc4fe7caf950d92562b3cb739615.zip hdf5-d67d709a3a10cc4fe7caf950d92562b3cb739615.tar.gz hdf5-d67d709a3a10cc4fe7caf950d92562b3cb739615.tar.bz2 |
Remove duplicated H5_IS_BUFFER_OVERFLOW macro (#2700)
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/H5private.h b/src/H5private.h index d92f7f6..eb7d8e0 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -2436,11 +2436,6 @@ H5_DLL herr_t H5CX_pop(hbool_t update_dxpl_props); #define HDcompile_assert(e) do { typedef struct { unsigned int b: (e); } x; } while(0) */ -/* Check if a read of size bytes starting at ptr would overflow past - * the last valid byte, pointed to by buffer_end . - */ -#define H5_IS_BUFFER_OVERFLOW(ptr, size, buffer_end) (((ptr) + (size)-1) > (buffer_end)) - /* Private typedefs */ /* Union for const/non-const pointer for use by functions that manipulate |