diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2011-04-12 16:59:33 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2011-04-12 16:59:33 (GMT) |
commit | e4c6ef2f06a9e85ab7485eaab6b4b5fad699c8e3 (patch) | |
tree | 51db953096306b494651d0c794e5110a98d96259 /src/H5EAtest.c | |
parent | 9af7a65b4fb46cb61df85eeff49a3ba0f018d863 (diff) | |
download | hdf5-e4c6ef2f06a9e85ab7485eaab6b4b5fad699c8e3.zip hdf5-e4c6ef2f06a9e85ab7485eaab6b4b5fad699c8e3.tar.gz hdf5-e4c6ef2f06a9e85ab7485eaab6b4b5fad699c8e3.tar.bz2 |
[svn-r20480] Description:
Remove global variable for the path name in the group traversal code. Also
clean up a bunch of compiler warnings.
Tested on:
Mac OS X/32 10.6.7 (amazon) w/debug & production
FreeBSD/32 6.3 (duty) w/debug
FreeBSD/64 6.3 (liberty) w/debug
Solaris/32 2.7 (linew) w/debug
Diffstat (limited to 'src/H5EAtest.c')
-rw-r--r-- | src/H5EAtest.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5EAtest.c b/src/H5EAtest.c index 1b5e100..0153a1e 100644 --- a/src/H5EAtest.c +++ b/src/H5EAtest.c @@ -284,7 +284,9 @@ herr_t, SUCCEED, -, H5EA__test_decode(const void *_raw, void *_elmt, size_t nelmts, void *_ctx)) /* Local variables */ +#ifndef NDEBUG H5EA__test_ctx_t *ctx = (H5EA__test_ctx_t *)_ctx; /* Callback context to destroy */ +#endif /* NDEBUG */ uint64_t *elmt = (uint64_t *)_elmt; /* Convenience pointer to native elements */ const uint8_t *raw = (const uint8_t *)_raw; /* Convenience pointer to raw elements */ |