summaryrefslogtreecommitdiffstats
path: root/src/H5E.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-04-30 21:05:34 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-04-30 21:05:34 (GMT)
commit98244eb5dd3f1bb8fea991a6efeb6bfb39d0cdf3 (patch)
tree87c24e70d6e8a443e4fd90fd5899b9b983983e48 /src/H5E.c
parent0fc9d137d3c00ec749152132db222d4a07bdc30f (diff)
downloadhdf5-98244eb5dd3f1bb8fea991a6efeb6bfb39d0cdf3.zip
hdf5-98244eb5dd3f1bb8fea991a6efeb6bfb39d0cdf3.tar.gz
hdf5-98244eb5dd3f1bb8fea991a6efeb6bfb39d0cdf3.tar.bz2
[svn-r10705] Purpose:
Code cleanup Description: Clean up a few compiler warnings of various sorts... Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
Diffstat (limited to 'src/H5E.c')
-rw-r--r--src/H5E.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5E.c b/src/H5E.c
index 20d3604..74c67fa 100644
--- a/src/H5E.c
+++ b/src/H5E.c
@@ -1482,8 +1482,10 @@ H5Epush_stack(hid_t err_stack, const char *file, const char *func, unsigned line
va_list ap; /* Varargs info */
H5E_t *estack; /* Pointer to error stack to modify */
H5E_msg_t *maj_ptr, *min_ptr; /* Pointer to major and minor error info */
+#ifndef H5_HAVE_VASPRINTF
int tmp_len; /* Current size of description buffer */
int desc_len; /* Actual length of description when formatted */
+#endif /* H5_HAVE_VASPRINTF */
char *tmp=NULL; /* Buffer to place formatted description in */
herr_t ret_value=SUCCEED; /* Return value */