diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-01-23 20:46:34 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-01-23 20:46:34 (GMT) |
commit | 56e3f667d6e3e265ac044f3faf1b17137556e0f7 (patch) | |
tree | 70f04688f0596ca5be22dd4e9260f601ee77bbd8 /test/error_test.c | |
parent | b09695738a95d8f1fb823894d1880f28dc16669c (diff) | |
download | hdf5-56e3f667d6e3e265ac044f3faf1b17137556e0f7.zip hdf5-56e3f667d6e3e265ac044f3faf1b17137556e0f7.tar.gz hdf5-56e3f667d6e3e265ac044f3faf1b17137556e0f7.tar.bz2 |
[svn-r11886] Purpose:
Code cleanup
Description:
Check in some of the code cleanups from working on the external link
support. (This doesn't include any of the external link features)
Platforms tested:
FreeBSD 4.11 (sleipnir)
Mac OSX.4 (amazon)
Linux 2.4
Diffstat (limited to 'test/error_test.c')
-rw-r--r-- | test/error_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/error_test.c b/test/error_test.c index b7994a0..ad3dd11 100644 --- a/test/error_test.c +++ b/test/error_test.c @@ -303,8 +303,8 @@ error_stack(void) * *------------------------------------------------------------------------- */ -herr_t -long_desc_cb(unsigned n, const H5E_error_t *err_desc, void* client_data) +static herr_t +long_desc_cb(unsigned UNUSED n, const H5E_error_t *err_desc, void* client_data) { char *real_desc = (char *)client_data; @@ -335,7 +335,7 @@ long_desc_cb(unsigned n, const H5E_error_t *err_desc, void* client_data) static herr_t test_long_desc(void) { - char *format="Testing very long description string, %s"; + const char *format="Testing very long description string, %s"; char *long_desc; char *full_desc; size_t u; |